I need to access a table in Dataverse using the Web APIs (as opposed to using the built-in Dataverse actions).
Specifically, I need to execute this HTTP query:
https://<myorgid>.api.crm.dynamics.com/api/data/v9.2/aadusers(00000000-0000-0000-0000-000000000000)
(using some guid from Active Directory)
I am confused about two things:
How do I configure the HTTP action to authenticate properly?
How do I configure the Azure App registration such that it can read the table?
For the HTTP action, I would like to know how to get the value for "Audience"
For the Azure App Registration I have looked at this tutorial, but I still get a 401-error when sending the request to the Web API.
Finally, I have created an app user with the app registration above and added the security role "System Administrator" to it.
If anyone can assist me with this, it would be creatly appreciated 😊.
Thanks
/Jesper
Hi,
try fist connecting to https://<myorgid>.api.crm.dynamics.com/api/data/v9.2/
audience should be - https://<myorgid>.api.crm.dynamics.com
as documented at Announcing the AAD User Virtual Table – Find and add any AAD user to your records. | Microsoft... unfortunately, at this time, AAD User is not currently available for Automate. This is planned for a future release.
API information for the AAD User table can be found here.
br,
Gill
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1