Skip to content

Update to PnP.PowerShell v2.4.0 #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AlexAuras
Copy link

Hello @Zerg00s,

I love what you have done with the Apps Migrator! With some tenants I unfortunately had troubles connecting to using the classic PnP Module. Therefor I updated to the PnP.PowerShell module that uses PowerShell 7. Hope you appreciate.

Best regards,
Alexander

@Zerg00s
Copy link
Owner

Zerg00s commented Apr 24, 2024

Hi @AlexAuras . Thank you for your help. I might need to take your PR and create a separate repository that uses the PnP.PowerShell module.

I already attempted to upgrade to PnP.PowerShell twice over the last 3 years, but it only caused more issues.
PnP.PowerShell has several important limitations that defeat the purpose of this tool. for example:

  • It requires an Azure App Registration with the Global Admin concent. This is nearly impossible to get approved in organizations with tight security. So, if you are a contractor in a bank, for example, and need to work with Apps and Flows, you will never be able to use the migrator.
  • The latest PnP uses PowerShell 7, which is not available on most servers today.

So, I will work on creating a separate repository soon. And this one will still be supported.

@AlexAuras
Copy link
Author

AlexAuras commented Apr 25, 2024

Indeed, it makes sense to have a separate repository for the PowerShell 7 variation, as one could consider it as another platform compared with Windows PowerShell.

I mostly use my own credentials for migration, logging in with -Interactive mode from my workstation, not a server. While it worked well with the classic PnP.PowerShell module in the past, it recently started to fail due to security configurations of the tenant. The updated Apps Migrator now works perfectly for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants