Forum Discussion
blue_man
Jan 26, 2022Iron Contributor
Set-SPOTenant : The operation has timed out and Set-SPOSite : The remote server returned an error: (
I am trying to run the below command but I get the below error: ,(Get-SPOSite -IncludePersonalSite $true -Limit all -Filter "Url -like '-my.sharepoint.com/personal/'") | Set-SPOTenant -Conditiona...
Jan 26, 2022
On the first script example, you should have Set-SPOSite instead of Set-SPOTenant.
When 429 error is returned, your calls are being throttled. Adding some delay between calls might help in that case.
When 429 error is returned, your calls are being throttled. Adding some delay between calls might help in that case.
blue_man
Jan 26, 2022Iron Contributor
Ok thanks blame MS documentation then : ) I just tested using that.
https://docs.microsoft.com/en-us/sharepoint/control-access-from-unmanaged-devices
Will test it with Set-SPOSite then and revert back.
https://docs.microsoft.com/en-us/sharepoint/control-access-from-unmanaged-devices
Will test it with Set-SPOSite then and revert back.