Forum Discussion
View all Pipelines
- Anonymous2 years ago
I finally got it to work. No the second link just gets the pipelines. I had pipelines that were actually assigned to no user. I suspect it was assigned to the manager before me and we she left the user went null. To update the user is the secret and I tried to use the link above, from LeeBenjamin: Deployment Pipeline - Update User As Admin
which used this API call. POST https://api.powerbi.com/v1.0/myorg/admin/pipelines/{pipelineId}/users
The documentation may be incorrect, as I could not get it to work until I changed the body key "accessRight" to "PipelineUserAccessRight". I only figured that out because I was clued by a previous error message. It was a lot of trial and error but problem finally solved!
Pipelines - Get Pipelines - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Admin - Pipelines GetPipelinesAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Docs
- Anonymous2 years agoNot applicable
Thanks! what is cool is I could run the API from the link. This confirmed my suspicion that there are some deployment pipelines that I cannot see. Now the million dollar question is how do I change who can access the deployment pipeline since I cannot reach the actual pipeline to manage access?
- lbendlin2 years agoSuper User
even with the second link?
- Anonymous2 years agoNot applicable
I finally got it to work. No the second link just gets the pipelines. I had pipelines that were actually assigned to no user. I suspect it was assigned to the manager before me and we she left the user went null. To update the user is the secret and I tried to use the link above, from LeeBenjamin: Deployment Pipeline - Update User As Admin
which used this API call. POST https://api.powerbi.com/v1.0/myorg/admin/pipelines/{pipelineId}/users
The documentation may be incorrect, as I could not get it to work until I changed the body key "accessRight" to "PipelineUserAccessRight". I only figured that out because I was clued by a previous error message. It was a lot of trial and error but problem finally solved!