Missing context in documentation Power BI REST API - Add Group User
Describe the bug The documentation for the Groups Add User rest API for Power BI is unclear when adding a service principal. The Object id referred to in the sample body should come from the enterprise application, not from the main ribbon of the service principal.
To Reproduce/update
The sample request body includes a identifier (id), which is unclear where this identifier is fetched from.
Please enrich the document with the following steps:
- Go to Azure Portal
- Open Azure Active Directory
- In the left menu, navigate to App Registrations
- Do not use the object ID listed in the ribbon. Click on the Enterprise Application instead (usually the same name as the App registration)
- From the enterprise application window, copy the object id which should be pasted in the body for the API call
Thank you for opening an issue! One of our team members will get back to you with additional information.
If this is a product issue, please close this issue and contact the product's support instead. For a list of support websites, see Support for Microsoft products and apps.