msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Need to to supress Update-MgEntitlementManagementAccessPackageAssignmentPolicy cmdlet

Open vikama-microsoft opened this issue 3 years ago • 3 comments

Currently ELM does not support patch of this API and seem like the auto generator of this cmdlets generated using PATCH ,c an you please help to suppress this cmdlet. https://www.powershellgallery.com/packages/Microsoft.Graph.Identity.Governance/1.7.0

vikama-microsoft avatar Sep 22 '21 22:09 vikama-microsoft

What does "suppress this cmdlet" imply? Take it away? In my scenario I actually need this kind of operation / cmdlet to update obsolete policy assignment policies.

KaiWalter avatar Sep 29 '21 07:09 KaiWalter

The command should be updated to use PUT instead of PATCH as described in the API reference docs.

Related to microsoftgraph/msgraph-metadata#180 and will be fixed by https://github.com/microsoftgraph/microsoft-graph-devx-api/issues/607.

peombwa avatar Oct 07 '21 16:10 peombwa

Any updates on this? The fact that this cmdlet uses the wrong method makes it quite useless. Although app and job exists there is no way around the error: Update-MgServicePrincipalSynchronizationJobSchema : {"Message":"No HTTP resource was found that matches the request URI 'https://syncfabric.windowsazure.com/api/serv icePrincipals('[PrincipalObjectId]')/synchronization/jobs('[SyncronizationJobId]')/schema?api -version=2.0'."}

magic-happenz avatar Mar 02 '22 12:03 magic-happenz