Hello,
I am attempted to move A PowerApps solution from my Dev environment to a Testing environment using Azure Devops pipelines, using the Power platform tools. After importing to the new environment using pipelines, I can no longer play/edit the canvas app, doing so manually works just fine.
I am using Service Principle/client secret, I have attempted to use the Microsoft.PowerApps.PowerShell cmdlets but upon trying to use Set-PowerAppRoleAssignment I get the following error:
Set Owner for App
Code : 400
Description : Bad Request
Internal : @{StatusCode=400; StatusDescription=Bad Request; Headers=Vary:
Authorization,Accept-Language,Accept-Encoding
Strict-Transport-Security: max-age=15724800; includeSubDomains,max-age=31536000; includeSubDomains
x-ms-islandgateway: GA0000003
x-ms-request-id: canadacentral:---------------------------------
x-ms-correlation-request-id: ---------------------------------
x-servicefabric: NoRetry
x-ms-service-request-id: ---------------------------------
x-ms-correlation-id: ---------------------------------
x-ms-activity-vector: 00.00.00
Server-Timing: x-ms-igw-upstream-headers;dur=1113.4,x-ms-igw-req-overhead;dur=0.2
X-Content-Type-Options: nosniff
Content-Length: 181
Cache-Control: no-store, no-cache
Content-Type: application/json; charset=utf-8
Date: Wed, 27 Jul 2022 18:26:19 GMT
; Error=; Message=The permissions of the application creator identified by
'---------------------------------' cannot be modified.; Internal=System.Net.HttpWebResponse}
(note: I have hidden some of the more private information with ---------------------------------)
I am unable to use an Admin cmdlets as they are outside my scope of permissions the highest level I have access to is Maker/Creator. If I can import/export manually is there not anyway for me to use either Azure devops piplines and or Power platform cmdlets to automate the process.
Let me know if I can give any more context.

Report
All responses (
Answers (