Forum Discussion
blue_man
Jan 26, 2022Iron Contributor
Get-SPOSite ConditionalAccessPolicy Displaying Incorrect Value
When I run the below command under the ConditionalAccessPolicy value it is displaying AllowFullAccess even though the property is set to AllowLimitedAccess. Get-SPOSite -IncludePersonalSite $true...
CptKeys
Oct 23, 2023Copper Contributor
blue_man I also came across this issue today
Found the docs stating that using a Filter or -Limit command will stop a bunch on properties being populated
https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/get-sposite?view=sharepoint-ps#description
https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/get-sposite?view=sharepoint-ps#-limit
this Github post states using a foreach to get the correct information, but then you also have to worry about too many commands and hitting 429 error (too many requests)
https://github.com/MicrosoftDocs/office-docs-powershell/issues/8865