Giacomo Pozzoni

Results 237 comments of Giacomo Pozzoni

I was able to reproduce the issue by removing a member from Teams client and then running `Update-PnPTeamsUser` right away. The user was found in the M365 group but not...

That's sounds like a strange issue 😮 I haven't really used `Update-PnPTeamsUser` before so not sure what its behavior is when flipping back and forth between Member and Owner. I...

Could you please add `-ErrorAction:Stop` as additional parameter and then post the stacktrace running `Get-PnPException | select *` ?

Storage quota is the same as on SPO Admin Center, as it shows 1355776 MB, which is ~1,293 TB. What do you get with [Get-SPOTenant](https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/get-spotenant?view=sharepoint-ps) ? In my case I...

According to https://techcommunity.microsoft.com/discussions/sharepoint_general/what-is-the-storagequotaallocated-means-in-spo/297042 , the StorageQuotaAllocated is not the amount of space used, which is why it's 0. As the Get-SPOTenant cmdlet is from Microsoft, you could open a support...

I checked my scripts and found 2 ways: - [Get-SPOGeoStorageQuota](https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/get-spogeostoragequota?view=sharepoint-ps) returns GeoUsedStorageMB as used capacity, matching what SPO Admin Center shows. It returns also TenantStorageMB as total: ![image](https://github.com/user-attachments/assets/e04e683e-c2ff-4900-944e-8a1769e48e00) - `(Invoke-PnPSPRestMethod...

Try including `-ErrorAction:Stop` as parameter, it might be the same issue as https://github.com/pnp/powershell/issues/4646#issuecomment-2560173697 where a User.* permission is required to fetch the needed information for Owners and Members, in addition...

is this a new issue happening after https://github.com/TrinityCore/TrinityCore/commit/2d114ea560cd8716af2b0d12990fc3480ecaf2b7 ? Asking @chaodhib to check this one too in case it's caused by that commit

The returned objects is from CSOM, as a workaround you can check `$hubSite.ServerObjectIsNull` as property instead which is `$true` when the site is not a hubsite:

I'm curious, does `| Out-Null` in PowerShell affect the memory usage at all ?