Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

ALM_InvalidRequest_ServicePrincipalNotSupported

Following the Script located

 

https://github.com/microsoft/PowerBI-Developer-Samples/blob/master/PowerShell%20Scripts/DeploymentPi...

 

I have given my SPN the correct access to DataSet.ReadWrite.All and Workspace.Read.All etc.

 

What am I missing that is causing the 400 bad request response?

 

Using Postman, I get

 

{
    "error": {
        "code""ALM_InvalidRequest_ServicePrincipalNotSupported",
        "pbi.error": {
            "code""ALM_InvalidRequest_ServicePrincipalNotSupported",
            "parameters": {},
            "details": [],
            "exceptionCulprit"1
        }
    }
}

 

Status: New
Comments
v-yingjl
Community Support

Hi @Anonymous ,

You can try these steps to check:

1. You can follow this simliar issue to get more details of the error.

2.. A little possibility that caused by Firewall.

3. Upgrade the Power Shell.

 

Best Regards,
Community Support Team _ Yingjie Li

Anonymous
Not applicable

First thank you for your response, however it was entirely unhelpful.

 

I already have the error message from the Power BI, it is essentially saying that the Service Principal is not supported, the question is why and how to fix it?

 

Already Using Powershell 7 so upgrade is not relevant.

 

There is no firewall blocking as I am able to perform GETs  with the PowerBI api.