Home > Back-end >  Authentication issues when trying to register new app in Azure Active Directory
Authentication issues when trying to register new app in Azure Active Directory

Time:12-21

I want to access the outlook API with a Python application. I followed enter image description here

Already checked in with the general Microsoft support. They directed me towards Azure support, but I can't reach anybody there.

CodePudding user response:

I tried to reproduce the same in my environment and got the same error as below:

enter image description here

The error usually occurs if the Microsoft personal account is not added as an external/guest user to an Azure AD tenant.

To resolve the error, contact the Global admin to invite the account as a guest user like below:

enter image description here

Once the admin invites, you will get an email notification to accept the invitation like below:

enter image description here

After accepting the invite, the Personal Microsoft account will be added to the tenant successfully like below:

enter image description here

And now you will be able to access the Azure Portal without any issue and you can also create your own tenant to have admin access.

If still the issue persists, try the below:

  • Sign out from the active session and sign in incognito window or any different browser.
  • Clear browser cache and cookies and try.
  • Confirm whether the admin has set any External user settings that is restricting the access:

enter image description here

Reference:

Microsoft 365 Developer Sandbox login

If you only signed up for a new Outlook Login

I hope this helps!

  • Related