Hi!
I am trying to add a service principal profile to a workspace I have just created.
I review the documentation and don't understand it...
I review the documentation on this page
what should I put on the data part of the request below?
thank you, Tal
payload = {
"identifier": f'{what should I put here?}',
"groupUserAccessRight": "Admin",
"profile" : f'{what should I put here?}',
"principalType" : f'{what should I put here?}'
}
Solved! Go to Solution.
Hi @TalIL87 ,
payload = {
"identifier": f'{what should I put here?}',
"groupUserAccessRight": "Admin",
"profile" : f'{what should I put here?}',
"principalType" : f'{what should I put here?}'
}
"identifier": Application (client) ID, You can find it in App registrations in Azure Portal.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @leonids2005
I was able to write code which create a service principal profile and publish a PBIX file into a workspace all using the PBI REST API.
Exactly what explained in this link.
I have everything on Github, I can share it...
Do you want to write your email?
Have a great day, Tal
Any chance to get access to Github? I have sent you my e-mail address. Thank you
sent my e-mail
Hi @TalIL87 ,
payload = {
"identifier": f'{what should I put here?}',
"groupUserAccessRight": "Admin",
"profile" : f'{what should I put here?}',
"principalType" : f'{what should I put here?}'
}
"identifier": Application (client) ID, You can find it in App registrations in Azure Portal.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
were you able to make it work. I am trying to do this and getting