Authentication issues when trying to register new app in Azure Active Directory

Peter 21 Reputation points
2022-12-19T19:28:00.647+00:00

Hi, already asked this question on Stackoverflow: https://stackoverflow.com/questions/74800630/authentication-issues-when-trying-to-register-new-app-in-azure-active-directory/74807977?noredirect=1#comment132088417_74807977

I have no idea what to do and still don't have a clue why that problem occurs.

Thanks, Peter

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
Outlook Windows Classic Outlook for Windows For business
Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

Accepted answer
  1. JamesTran-MSFT 36,906 Reputation points Microsoft Employee Moderator
    2022-12-21T00:30:37.09+00:00

    @Peter
    Thank you for following up on this!

    When looking into the Build Python apps with Microsoft Graph tutorial that you followed, one of the pre-requisites mentioned signing up for the Microsoft 365 Developer Program to get a free Microsoft 365 subscription. After you sign-up, you'll need to use the Microsoft 365 developer sandbox credentials in order to continue following the tutorial without having to leverage your own Azure AD tenant or subscription (pay-as-you-go).

    Build Python apps with Microsoft Graph:

    1. Join the Microsoft 365 Developer Program
    2. Deploy the Developer Sandbox
    3. Using the Microsoft 365 Developer subscription(s) info you'll be able to login to the Azure Portal or Azure Active Directory admin center.

    Note: You can navigate to your developer tenant using - https://aad.portal.azure.com/<<SandboxTenantName>>.onmicrosoft.com, or when prompted to sign in use your sandboxes' admin account.

    272550-image.png

    If you only signed up for a new personal Microsoft account (Outlook), you'll notice that once you sign into the Azure AD Admin Center, your Outlook.com user isn't associated with any Azure tenants, and you'll run into the authentication issue error message that you on Stack Overflow, so you'll have to create your own Azure AD tenant by signing up for an Azure Free Trial or Pay-as-you-go.
    272681-image.png

    I hope this helps!

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


1 additional answer

Sort by: Most helpful
  1. Amit Singh 5,306 Reputation points
    2022-12-20T10:53:36.88+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.