question

AsifulHaqueLatifNobel-4615 avatar image
0 Votes"
AsifulHaqueLatifNobel-4615 asked BarryJordan-4667 commented

Azure Active Directory Guest User cannot login to give access to app

I am part of an Azure AD and have invited a user by email. The user is part of two more AD already and has accepted the invitation to become part of my AD. Now I have an Enterprise Application that is used for Office 365 integration. I can login to any other internal AD user to access the Office 365 integration app. But the guest user is unable to do that.

Upon login by the guest user to my AD, the user see a popup that the app need admin approval. The app is accessible from his myapplications.microsoft.com page. But when the user tries to login to enable Office 365 integration using SSO, the admin approval issue occurs.

I can see from my Enterprise Application Sign-ins that when the guest user tries to login the User Id of the request does not match with my AD User Id for the guest user. The request shows User Id from another AD where the guest user is also a user.

I have set my AD as the default directory for the guest user. But it is not working.

So, I am in need of a way to solve this issue.


azure-active-directory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AsifulHaqueLatifNobel-4615 avatar image
0 Votes"
AsifulHaqueLatifNobel-4615 answered BarryJordan-4667 commented

I was able to fix this by redirecting users to tenant specific oauth login url - https://login.microsoftonline.com/{Azure-Tenant-Id}/oauth2. Before it was common instead of Azure-Tenant-Id which logs in the user to a default directory. I am not sure how to change the default directory. Because I have already set the default directory once in portal.azure.com.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AsifulHaqueLatifNobel-4615 Thanks for helping the community with your answer.

0 Votes 0 ·

Would you able to share the steps you took to do this? I'm experiencing a similar issue. I'll appreciate it.

0 Votes 0 ·