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

[BUG]Get-PnPUserOneDriveQuota (possibly Education tenant related?) #4543

Open
1 of 6 tasks
valis-nz opened this issue Nov 11, 2024 · 2 comments
Open
1 of 6 tasks

[BUG]Get-PnPUserOneDriveQuota (possibly Education tenant related?) #4543

valis-nz opened this issue Nov 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@valis-nz
Copy link

Reporting an Issue or Missing Feature

Reporting an Issue with the "https://pnp.github.io/powershell/cmdlets/Get-PnPUserOneDriveQuota.html" command. Other commands mostly work.

Expected behavior

A user's onedrive quota.

Actual behavior

On two different machines, using an app registration with permissions and cert, the command just hangs. The verbose output with the nightly build is:
VERBOSE: Already connect to the SharePoint Online Admin Center at 'https://ourtenant-admin.sharepoint.com/'
VERBOSE: Making call to SharePoint Online using the Client Side Object Model (CSOM)
VERBOSE: Evaluating application permissions in access token for audience SharePoint Online
VERBOSE: Access token contains the following 2 application permission scopes for resource SharePoint Online: User.ReadWrite.All, Sites.FullControl.All
VERBOSE: No required permissions have been defined on this cmdlet

(this just hangs as long as it is left)

Steps to reproduce behavior

(note this is an education tenant which may be a factor as another already closed bug report mentioned the same.)
Connect-PnPOnline -Url $SiteURL -ClientId $ClientID -Thumbprint $ThumbPrint -Tenant $Tenant
Connects fine and can run other get-commands, but the following just hangs:
get-pnpuseronedrivequota -account [email protected]

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

Both stable 2.12 and 2.99.37-nightly

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

  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify

I think this is the same bug experienced and not solved by a few users (but solved as not able to be replicated):
#3539
The running theory is that for people experiencing the issue, they may be using an education tenant, which is somehow causing this command to fail.

@valis-nz valis-nz added the bug Something isn't working label Nov 11, 2024
@sticky270
Copy link

Can confirm, still experiencing this issue as per comment on #3539 and are using an education tenant.

@PierardY
Copy link

Same problem with connect-pnponline with clientid/thumbprint on education tenant
Get-PnPUserOneDriveQuota -Account "***" does not return

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

3 participants