Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am getting the below error while trying to add service principal throug api https://docs.microsoft.com/en-us/rest/api/power-bi/groups/addgroupuser#code-try-0
Parameter userDetails.PrincipalType is missing or invalid
{
"identifier": "{Service Principle Object ID}",
"groupUserAccessRight": "Admin",
"principalType": "App"
}
Can I know why I am getting this and how do I add service principal through api.
Solved! Go to Solution.
Hi @Anonymous ,
Try "Group" or "User" as principal type.
Here is the document for your reference : https://docs.microsoft.com/en-us/rest/api/power-bi/groups/addgroupuser#principaltype
Hi @Anonymous ,
Try "Group" or "User" as principal type.
Here is the document for your reference : https://docs.microsoft.com/en-us/rest/api/power-bi/groups/addgroupuser#principaltype
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
25 | |
19 | |
18 | |
14 | |
11 |
User | Count |
---|---|
32 | |
20 | |
19 | |
18 | |
11 |