function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jonathan BoulterJonathan Boulter 

office 365 Connected App

Help :(

I've followed this guide for setting up Office 365 as a Connected App:
 
but I'm just getting an error when I click the app:
 
NotFound

not too bad, as I was just testing but now no one can login to Office 365 as it is redirecting to my Dev Org...

I've tried this command:
 
Set-MsolDomainAuthentication -DomainName <your.domain> -Authentication managed

from here:
 
but its still doing the same. How do I turn this off, I'm guessing I've got to change the IssuerUri, but to what?
Best Answer chosen by Jonathan Boulter
Jonathan BoulterJonathan Boulter
It looks like there is a long delay between issuing the Powershell command and it taking affect as this has suddenly started to work again.

All Answers

Jonathan BoulterJonathan Boulter
It looks like there is a long delay between issuing the Powershell command and it taking affect as this has suddenly started to work again.
This was selected as the best answer
Dev org 29Dev org 29
Hi Jonathan,

I am facing the same error when tring to configure SSo from salesforce to office 365.Can you please help me in troubleshooting the issue.
Thanks,
Rakesh.
Jonathan BoulterJonathan Boulter

Hi Rakesh,

this isn't working 100% in that we have problems with connecting via the desktop Outlook client, connecting via the Web Portal and the mobile Outlook client seems to work though.

The two issues we had were that the StartURL should be:

https://login.microsoftonline.com/login.srf?whr=realm.com

replacing realm.com with your federated domain and you need to enter the ImmutableId for the user in Office365 into the Federation ID field for the user in Salesforce.

See the link below for the full thread:

https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F9300000001q1N

Let me know if you're still having problems.

Kind Regards
Jonathan 

Dev org 29Dev org 29
Thank you Jonathan,

I will look into the suggestions and reach out to you incase of any quereis.

Thanks again for the support.

Thanks,
Rakesh.