adding multi-geo sharepoint site resource to catalog using v1.0 Power Shell commands
When I am using the command New-MgEntitlementManagementAccessPackageResourceRequest and use url parameter as japan region provisioned site, it just fails to add.
$params = @{ requestType = "adminAdd" resource = @{ displayName = $requestObj.requestTitle description = $requestObj.requestTitle originId ="https://companyeur.sharepoint.com/teams/testjapan" originSystem = "SharePointOnline" } catalog = @{ id = $catalogObj.Id } } New-MgEntitlementManagementResourceRequest -BodyParameter $params | Out-Null -ErrorAction Stop
error:
[RequestFailedInOriginSystem] : "Attempted to perform an unauthorized operation.","details"