0

Is Get-PnPAzureACSPrincipal cmdlet deprecated?

I was able to use this cmdlet successfully 3 months before, but now ,running this cmdlet displays error that's this is not available.

when I run Get-Command -Module PnP.Powershell also, I don't get the cmdlet.

1
  • Hi @George, did you try below suggestions? Is it working for you? If yes, please Upvote(^) and accept as an Answer as it helped you & it will help others with similar question in future to find the correct answer easily. It also removes this question from "Unanswered questions" list. Thanks! Commented Dec 12, 2023 at 14:28

1 Answer 1

2

As per the PnP PowerShell official documentation, the Get-PnPAzureACSPrincipal cmdlet is not deprecated.

Documentation: Get-PnPAzureACSPrincipal


I think there is some version conflict in the PnP PowerShell modules/versions installed on your system. The current stable & latest of PnP PowerShell is v2.2.0.

Try below steps once:

  1. Uninstall all versions of SharePointPnPPowershellOnline module from your system.

  2. Uninstall all versions of PnP PowerShell modules from your system

  3. Install the latest and stable version (v2.2.0) of PnP PowerShell by following below documentations

Documentations:

  1. Upgrading from the Legacy version of PnP PowerShell
  2. Installing PnP PowerShell

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.