How can I add permission to a canvas app via Github actions ? #502
-
I have dev and prd environment in dev I'm the owner of the canvas app. When I deploy the solution where the canvas app is within the canvas app has no permissions and I had to manually add myself to the app via the PowerApps admin portal. How can I add a security group or something similar to my solution and to the app. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @LeonardSchwenk, I hope you are doing well. I am not sure if there is currently a way to achieve this using an out-of-the-box action from this repository. But it does not mean it is not achievable 😉 You can find an example of an implementation in the following links:
I hope it will help you. |
Beta Was this translation helpful? Give feedback.
-
@rpothin true MVP Raph thanks very helpful info and as polite as a true Canadian ! Cheers, |
Beta Was this translation helpful? Give feedback.
Hi @LeonardSchwenk,
I hope you are doing well.
I am not sure if there is currently a way to achieve this using an out-of-the-box action from this repository.
But it does not mean it is not achievable 😉
You can share canvas app with specific permissions using the set-adminpowerapproleassignment command from the Microsoft.PowerApps.Administration.PowerShell PowerShell module.
You can find an example of an implementation in the following links:
I hope it will help you.
Have a great day.
Raph