Skip to content
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

Get-PnPExternalUser command on SharePoint site returns empty results with external users on the site[BUG] #3957

Closed
1 of 6 tasks
thejoarjun opened this issue May 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@thejoarjun
Copy link

Reporting an Issue

Get-PnPExternalUser command on SharePoint site returns empty results with external users present

Expected behavior

Get-PnPExternalUser is supposed to return external users on the site

Actual behavior

Get-PnPExternalUser command on SharePoint site returns empty results with external users present. Until March 2024 it was working fine

Steps to reproduce behavior

Execute Get-PnPExternalUser command on SharePoint site with external users present

What is the version of the Cmdlet module you are running?

Get-PnPExternalUser

Which operating system/environment are you running PnP PowerShell on?

  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify
@thejoarjun thejoarjun added the bug Something isn't working label May 16, 2024
@jackpoz
Copy link
Contributor

jackpoz commented May 19, 2024

Are you using the -SiteUrl parameter of Get-PnPExternalUser to specify the SharePoint site ? Otherwise the command returns external users tenant-wide

@thejoarjun
Copy link
Author

Yes, Using the -SiteUrl parameter.

@thejoarjun
Copy link
Author

Issue seems to be resolved now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants