adding multi-geo sharepoint site resource to catalog using v1.0 Power Shell commands

Thadigadapa Naveen 0 Reputation points
2024-12-26T14:14:11.28+00:00

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"

Microsoft Security | Microsoft Identity Manager
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.