[Office 365 Connector] Can't establish connection for APP in Azure

[Office 365 Connector] Can't establish connection for APP in Azure

  
Forge Component
(14)
Published on 2015-11-27 by João Martins
14 votes
Published on 2015-11-27 by João Martins
Pedro,

c/ould you add a manual on how to set up the connection in Azure, because somehow I keep on getting an error when doing so. By the way, it is a microsoft error after entering my user name and password in the microsoft login screen.

I'm a bit new to this ... sorry ... :-)
Hi Eric,
In the demo eSpace you have a configurations screen where you will add the client Id, the Client secret and the callback screen, there you also have a link to this page that has all the information you need to configure your Azure App. ;)
If you need something else please let us know.
Joao,

Thanks, configuration in Azure looks fine now, but I still get a bad request on the outsystems site. Can you post an example of what the configuration screen in the office365demo should look like?

Looks like I either put in the wrong key or the werong urls

Greetz,

Eric
Eric,
 
I've uploaded a new image with the configurations screen ;)
I've also uploaded a new version with some changes in the demo eSpace, I would  suggest you to download this new version.
If you configure your app and still receive errors in the login screen, please post the error that you receive so we can help you.
 
Regards,
João

i think im still stuck with same kind of issue :s 

CionSystems’ office365/azure enterprise self-service and cloud identity management simplifies and speeds up on boarding, migration, compliance reporting and management for cloud and hybrid environments

http://cionsystems.com/office365_bundle.php

http://cionsystems.com/cim_selfservice.php

Hi Luis

Any luck on this ? The issue is with the reply URL and its expecting some kind of callback.aspx website.

I am running it on my personal environment. Most of the blogs are talking about manifest file and I do not know where to look for this on Outsystem.

Luis Paulo Soares wrote:

i think im still stuck with same kind of issue :s 



Dileep Mettu wrote:

Hi Luis

Any luck on this ? The issue is with the reply URL and its expecting some kind of callback.aspx website.

I am running it on my personal environment. Most of the blogs are talking about manifest file and I do not know where to look for this on Outsystem.

Luis Paulo Soares wrote:

i think im still stuck with same kind of issue :s 



Hello Dileep,

Have you followed all the configuration steps, both on the azure side and the connector side?

Hi,

Yes, with João help i could make it work. My problem was because i wasn't using a Office 365 account.

Hi Joao / Luis


thanks for the prompt response. I did configure the Secret key wrong and fixed it.

Now its redirected to URL "https://dileep-mettu.outsystemscloud.com/customHandlers/internalerror.aspx"

Now, I see a different error as plain text in the browser: "There was an error processing your request. Please try again later...".

Any idea why this error pop's up ? I tried debugging the issue on IDE but I am not able to figure out.


Thanks

Dileep


João Martins wrote:

Dileep Mettu wrote:

Hi Luis

Any luck on this ? The issue is with the reply URL and its expecting some kind of callback.aspx website.

I am running it on my personal environment. Most of the blogs are talking about manifest file and I do not know where to look for this on Outsystem.

Luis Paulo Soares wrote:

i think im still stuck with same kind of issue :s 



Hello Dileep,

Have you followed all the configuration steps, both on the azure side and the connector side?



Hello,

Is the callback URL correct? I think you can do a breakpoint on it and check if it is being called.

The error seems that it doesn't find the callback page.

Hi 

The error is while generating token as I see in the attached image. I am getting 400 bad request in the debugger area and Internal error on the browser(attached previously).

Thanx

Dileep

Hi 


Thank you both for the help. Its working now. My bad, I was using https://dileep-mettu.outsystemscloud.com/Office365Demo/Callback.aspx instead of https://dileep-mettu.outsystemscloud.com/Office365Connector/Callback.aspx. in the app configurations and it was going haywire.


Dileep Mettu wrote:

Hi 

The error is while generating token as I see in the attached image. I am getting 400 bad request in the debugger area and Internal error on the browser(attached previously).

Thanx

Dileep



Dileep Mettu wrote:

Hi 


Thank you both for the help. Its working now. My bad, I was using https://dileep-mettu.outsystemscloud.com/Office365Demo/Callback.aspx instead of https://dileep-mettu.outsystemscloud.com/Office365Connector/Callback.aspx. in the app configurations and it was going haywire.


Dileep Mettu wrote:

Hi 

The error is while generating token as I see in the attached image. I am getting 400 bad request in the debugger area and Internal error on the browser(attached previously).

Thanx

Dileep



Glad to hear that! Enjoy! :)