Hi all,
I work on customization of Dynamics Marketing solution. To send Http request beyond MS platform I need to get auth token:
POST /{tenant}/oauth2/v2.0/token HTTP/1.1
Host: login.microsoftonline.com
Content-Type: application/x-www-form-urlencoded
client_id={id} &
scope={service_url} &
client_secret={secret} &
grant_type=client_credentials
How can I find Tenant Id from solution using SDK?
Thanks for help.
Hi @mcolbert ,
thank you for answering.
Suggested field ACI Tenant URL in Organization Entity is empty in my case. PowerShell is not a option.
For authentification I use OAuth client credential grant: https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-oauth2-client-creds-grant-flow.
I'm preparing publishing my solution in AppSource, and in deployment process or configuration of solution I need to get tenant_id and store it in my configuration entity.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
203 | |
71 | |
51 | |
49 | |
20 |
User | Count |
---|---|
263 | |
123 | |
85 | |
79 | |
70 |