I want to obtain role assignment information from Azure Purview instances using REST API calls in my application. The desired information is the email addresses and groups under each role as indicated by the red arrows in the image at the end.
I have tried to follow the Microsoft doc ( link ) and tried the API below.
GET {Endpoint}/policyStore/metadataRoles?api-version=2021-07-01-preview
However, I could only get the default metadata roles in the response, such as
purviewmetadatarole_builtin_data-source-administrator
I am new to Purview, so please forgive me if this is a silly question. Is there an API that can properly extract role assignment information?
Image - Role assignment information is indicated by red arrows
Metadata Roles – List REST API returns the list roles for Azure Purview Account.
Metadata Policy - List All REST API returns the list or Get metadata polices for Azure Purview Account.
Note: This attribute Value will be Object ID
of the user/app registered in the Azure Active Directory.
Metadata Policy - Get REST API returns Gets a metadata policy for Azure Purview Account.
Note: Make sure to replace the {policyId} with the above value.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.