cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mpezzutti
Helper II
Helper II

undefined

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/... 
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

 

 

1 REPLY 1

Hi @mpezzutti 

 

I do not see the screenshots. And please track this post here as it seems to be a duplicate one : https://powerusers.microsoft.com/t5/General-Power-Automate/Power-Shell-script/m-p/454637#M45115 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,011)