Forum Discussion

biztalk's avatar
biztalk
New Member
1 year ago
Solved

Rest API to Deploy Stage Content via Service Principal Suddenly Stopped Working

Last year, we setup a devops ci/cd process to automate our PBI deployment pipelines via the fabric rest API's.  We use a service principal and have given the service principal permissions at the tenant level (allow users to use fabric api's) and of course to the pbi pipeline and underlying workspaces.  The process was working for months, but has suddenly stopped working.  The last successful run was 3/20/25.  Now we get an error stating: "PrincipalTypeNotSupported"

 

We have not changed anything on our end in terms of code and I double checked to make sure the security has not changed for the Service Principal.  The powershell script we use makes additional API calls to get the pipeline ID and to get the pipeline stage items, and these calls work just fine using the service principal.  It just bomps on the call to make the deployment...no matter what we are deploying.  We are deploying paginated reports by the way and this has always worked without issues.

 

We use the "https://api.fabric.microsoft.com/v2/deploymentPipelines/{}/deploy" endpoint.

This is basically the code we have always used (as provided in MS GitHub):  https://github.com/microsoft/fabric-samples/blob/main/features-samples/fabric-apis/DeploymentPipelines-SelectiveDeploy.ps1

 

Please help us in figuring out if something has changed on the Microsoft side with this specific REST API endpoint.

4 Replies

  • v-sathmakuri's avatar
    v-sathmakuri
    Icon for Community Support rankCommunity Support

    Hi biztalk ,

     

    Have you had a chance to raise a support ticket and resolve this issue? If so, please consider sharing the solution in the forum and marking it as accepted, this will help other members find the answer more easily.

     

    Thank you.

  • v-sathmakuri's avatar
    v-sathmakuri
    Icon for Community Support rankCommunity Support

    Hi biztalk ,

     

    We are following up once again regarding your query. Could you please confirm whether the issue has been resolved through your support ticket with Microsoft?

    If so, we would appreciate it if you could share the resolution or any key insights here to benefit others in the community. If we don’t receive a response, we will proceed with closing this thread.

    If you need further assistance in the future, feel free to start a new thread in the Microsoft Fabric Community Forum. We will be happy to support you there.

     

    Thank you!!

  • Hi there, have you tested the API call with Postman or a similar app?