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 Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
732 questions
0 comments No comments
{count} votes

Your answer

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