Hi @Sukumar Vinnakota · Thank you for reaching out.
You can acquire a token under user context by using the POST Call and Body as mentioned below:
Note:
- Azure Resource Manager provider APIs use https://management.azure.com/, and Azure classic deployment model uses https://management.core.windows.net/.
- Make sure you add below API permission to the App, client id of which is specified in the above request body and grant admin consent.
- In this Microsoft Documentation, client context is used for authentication. I would suggest you to test user context before using it in production.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.