Hello everyone
I need a big help here I am writing a powershell script to execute from my powerapps. I pass three parameters into the flow which is the environment (ie Para1), User Guid(ie Para 2) and the APP ID GUid (ie Para 3). I need to make it run as a powershell script
Below is my code that is going to create a file in onedrive. I am just guessing this is the way to do it
param([string] $Environ = Para1,
[string] $Userguid = Para2,
[string] $Appguid = Para3
)https://australia.flow.microsoft.com/manage/environments/ab6675c6-b992-4ca9-80d8-b87f1dfcb9d1/flows/21d64114-cf7f-4535-b888-322b94d68be5
Remove-AdminPowerAppRoleAssignment -$Environ -AppName $Appguid -RoleId $Userguid
I have attached what I have created in flow and if someone can find the solution I would really appreciate it
I have attached two images of my flow


Report
All responses (
Answers (