I can't access API from daemon app in nodejs

tai tran 51 Reputation points
2021-12-07T07:51:56.54+00:00

I am trying to create my azure app from the console for my personal account, I did follow its quickstart guide.

And currently, I am facing the error that I can't configure admin consent (step 3)

155607-screen-shot-2021-12-07-at-143326.png

I don't have Global tenant administrator, so I used GET request URL to request granting

https://login.microsoftonline.com/{tenant_id}/adminconsent?client_id={client_id}  

155548-screen-shot-2021-12-07-at-143412.png

Please help me with this case

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,747 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. tai tran 51 Reputation points
    2021-12-08T10:57:13.347+00:00

    I resolved myself by registering Azure AD

    0 comments No comments

  2. JamesTran-MSFT 36,061 Reputation points Microsoft Employee
    2021-12-09T23:09:58.253+00:00

    @tai tran
    Thank you for your post and for following up with this issue!

    Based off your error message Selected user account does not exist in tenant "Microsoft Services"..., the solution you took of registering your user with Azure AD was perfect!

    Troubleshooting links:
    Add or delete users using Azure Active Directory
    Quickstart: Add guest users to your directory in the Azure portal
    Add external users to your organization

    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.

    0 comments No comments