This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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 May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 14 | |
| 10 | |
| 9 | |
| 7 | |
| 6 |
| User | Count |
|---|---|
| 34 | |
| 28 | |
| 26 | |
| 19 | |
| 16 |