pnp / powershell

PnP PowerShell
https://pnp.github.io/powershell
MIT License
684 stars 348 forks source link

Export-PnPPowerApp - using Azure AD/Entra ID Enterprise App #4295

Closed renato87milagres closed 2 months ago

renato87milagres commented 2 months ago

Discussed in https://github.com/pnp/powershell/discussions/3743

Originally posted by **pkbullock** February 10, 2024 Hi I am looking to see if the Export-PnPPowerApp, can run under Azure AD App, instead of -Interactive. I've tried using but are continually getting access denied in the following: - a App running under App Permissions i.e. Non Interactive login - Giving app Power App Service permissions in Azure AD Permissions blade - Within the Power Platform Admin, adding the Azure AD app in the app list on the environment. - Also adding the app as a service principal in the PP apis. I believe this is possible, to achieve but I feel I am missing something here, just wondering if anyone knows or has tried this. https://pnp.github.io/powershell/cmdlets/Export-PnPPowerApp.html