$context = Get-PnPContext $site = Get-PnPTenantSite -Url "https://coredomain.sharepoint.com/sites/*****" $site.ConditionalAccessPolicy = [Microsoft.Online.SharePoint.TenantManagement.SPOConditionalAccessPolicyType]::"AllowFullAccess" $site.Update() $context.Load($site) Invoke-PnPQuery =============== Error: Exception calling "Load" with "1" argument(s): "The object is used in the context different from the one associated with the object." At line:5 char:1 + $context.Load($site) + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : InvalidOperationException