Forum Discussion
BoNDoK00
3 years agoFrequent Visitor
PowerShell authentication with service Principal failing
$client_id = <ClientID>
$tenant_id = <SecretID>
$secret = <Secret>
$SecurePassword = ConvertTo-SecureString $secret -Force -AsPlainText
$servicePrincipal = New-Object -TypeName PSCredentia...
Anonymous
3 years agoNot applicable
Hi BoNDoK00
What kind of API are you using and can you provide the API you are using for testing ?
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- BoNDoK003 years agoFrequent Visitor
Invoke-PowerBIRestMethod -Url 'https://api.powerbi.com/v1.0/myorg/admin/groups/<GROUPID>/users' -Method GetPlease note that my app has the following permissions: