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...
BoNDoK00
3 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: