cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dave8
Impactful Individual
Impactful Individual

Which rights/plan is requireing to execute powershell commands?

Hello,

 

At present I have "PowerApps for Office365" plan assigned, and I am not an environment maker, however I am local administrator on the machine as well as App Owner.

 

Would you please share what would I need to execute following command?

 

Set-AdminPowerAppApisToBypassConsent

 

At present, I am facing following errors:

unable to run command.png

 

Also, How can I check my current rights on PowerApps ? What is the least privileges require to run Set-AdminPowerAppApisToBypassConsent?

 

Thanks,

 

 

3 REPLIES 3
dave8
Impactful Individual
Impactful Individual

Looks like only Global Administrator can execute this command regardless any PowerApps license, however I am not 100% sure.

 

Thanks,

alrez
Microsoft
Microsoft

Hi,

 

According to our documentation you will need the following licenses/permissions in order to run administrative cmdlets you will need the following permissions in order to run these. https://powerapps.microsoft.com/en-us/blog/gdpr-admin-powershell-cmdlets/

 

Administrators

To perform the administration operations in the admin cmdlets, you’ll need the following:

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

dave8
Impactful Individual
Impactful Individual

Hello @alrez 

 

Yes, I have been through that article already, however I was able to execute the command without "PowerApps P2" license. I was only assigned with "PowerApps for Office365" as E3 license. However as a Global Administrator, I was able to execute the command.

 

PowerApps blog article, seems lil older, while in the latest MS Docs here It is not mentioned to have PowerApps P2 license.

 

However at the same time, that article doesn't say which "Administrative User Account" is requiring, but I assume it will be only "Global Admin" rights which needs to execute the Admin cmdlets regardless any PowerApps license at present.

 

Thanks,

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (16,241)