Forum Discussion

wanwar's avatar
wanwar
Icon for Helper I rankHelper I
1 year ago
Solved

Change Deployment Pipeline Owner

We have a deployment pipeline that was created/owned by an employee who is no longer with the co. I am using below API to change the owner :

 

https://api.powerbi.com/v1.0/myorg/Pipelines/{pipeline ID}/users

with body:

{
  "identifier": "my email address",
  "accessRight": "Admin",
  "principalType": "User"
}

Using a service account with access to:
Pipeline.Read.All
Pipeline.ReadWrite.All
 
but i keep getting:
{
    "error": {
        "code": "ALM_InvalidRequest_AccessToPipelineDenied",
        "pbi.error": {
            "code": "ALM_InvalidRequest_AccessToPipelineDenied",
            "parameters": {},
            "details": [],
            "exceptionCulprit": 1
        }
    }
}
 
Nobdy can see that pipeline except when I look at that pipeline in Postman through:

What am i missing?

 

Thanks,

11 Replies

    • wanwar's avatar
      wanwar
      Icon for Helper I rankHelper I

      Below options are enabled and account is added to:

      Service principals can use Fabric APIs

      Service principals can access read-only admin APIs

      Service principals can access admin APIs used for updates

      can you elborate and guide me on "Note that these rights may need to be assigned from the Power BI service rather than directly in the Azure Portal"
      • nilendraFabric's avatar
        nilendraFabric
        Icon for Super User rankSuper User

        I mean service principal must also be explicitly added as an Admin, Member, or Contributor to specific workspaces, pipelines, or tenant settings within the Power BI service.

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

    Hi wanwar,

    As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?

     

     

     

    Thanks,

    Prashanth Are

    MS Fabric community support

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

    • wanwar's avatar
      wanwar
      Icon for Helper I rankHelper I

      i found an alternate solution

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

        Hi wanwar,

         

        Can you please post your solution here and accept it as answer, as this will help other members find answeres more quickly

         

         

         

        Thanks,

        Prashanth Are

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

    Hi @wanwar,

    As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?

     

     

     

    Thanks,

    Prashanth Are

    MS Fabric community support

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

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

    Hi,

    We are following up once again regarding your query. If the issue has been resolved, we kindly request you to share the resolution or key insights here to help others in the community. If we don’t hear back, we’ll go ahead and close this thread.

    Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread. We’ll be happy to help.

     

    Thank you for your understanding and participation.