Hi @Leo ZHANG ,
Thanks for posting your query on Microsoft Q&A. Please find below suggestion.
- To import postman collection, you could follow https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow where you could choose the type of flow your application support. In this example we have selected Authorization code grant flow.
- Once you hit the link please select (Run in postman):
- This will pop-up the option to choose web/windows postman app.
- Expand Azure AD v2.0 Protocols (As support for V1.0 will be deprecated soon) and select Authorize request.
- As per the screenshot you shared the authority URL does not look correct. As per: https://learn.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-react#configure-your-javascript-spa Authority is a URL (e.g. https://login.microsoftonline.com/{your tenant ID}.
- The Azure cloud instance in which your application is registered. For the main (or global) Azure cloud, enter https://login.microsoftonline.com. For national clouds (for example, China), you can find appropriate values in National clouds.
- Also, the Auth URL and Access Token URL should be from endpoints you got from application registered in Azure AD.
Please do let me know if you have any queries in the comments section.
Thanks,
Akshay Kaushik
Please "Accept the answer" and "Upvote" if the suggestion works as per your business need. This will help us and others in the community as well