Skip to content

Update-MgPrivilegedAccessResourceRoleSetting - error URI api.azrbac.mspim.azure.com #233

@vincentmiens

Description

@vincentmiens

Hi,
I have an issue with the cmdlet Update-MgPrivilegedAccessResourceRoleSetting.
I try Update-MgPrivilegedAccessResourceRoleSetting -PrivilegedAccessId azureResources -GovernanceResourceId $RoleSetting.ResourceId -GovernanceRoleSettingId $RoleSetting.Id
I am sure the IDs are correct.
But the response is :

Absolute Uri:
https://graph.microsoft.com/beta/privilegedAccess/azureResources/resources/********-****-****-****-************/roleSettings/********-****-****-****-************

Followed by :

Body:
{
  "error": {
    "code": "UnknownError",
    "message": "{\"message\":\"No HTTP resource was found that matches the request URI 'https://api.azrbac.mspim.azure.com/api/v2/governanceResources('********-****-****-****-************')/roleSettings('********-****-****-****-************')?'.\"}",
    "innerError": {
      "date": "2022-12-16T21:00:48",
      "request-id": "5fb90750-367b-4976-8913-659c5b5863ba",
      "client-request-id": "5fb90750-367b-4976-8913-659c5b5863ba"
    }
  }
}

What can I do to resolve this issue ?
Thanks !
Vincent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions