Replacement for Get-SPOUser in PNPOnline

Ameer 16 Reputation points
2023-04-05T05:41:57.7666667+00:00

Dear All, We are using the SPOService connections but due to the MFA enabled account we are changing script to PNPOnline so to get the Get-SPOUser details i dont find any equal connectors. Please advise

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,776 Reputation points
    2023-04-05T09:36:58.34+00:00

    Hello there, Below are some share PnP command that you can use. Connect-SPOService = Connect-PnPOnline Disconnect-SPOService = Disconnect-PnPOnline Set-SPOUser = nothing equal for it. Set-SPOSite = Set-PnPSite Get-SPOSite = Get-PnPSite Add-SPOSiteCollectionAppCatalog = Add-PnPSiteCollectionAppCatalog https://learn.microsoft.com/en-us/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sharepoint-ps Hope this resolves your Query !! --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.