Skip to content

MalformedRoleAssignmentRequest - PASRP RoleAssignment request is malforme #8143

@lanpar

Description

@lanpar

Attempting to perform a role assignment on a service principle

#1. var assignmentGuid = msrestazure.generateUuid();

#2. body payload has both principleId and roleDefinitionId (json format)

#3. roleDefinitionId is /subscriptions/{{subscription_id}}/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635

#4. Execute the PUT
https://management.azure.com/subscriptions/{{subscription_id}}/providers/Microsoft.Authorization/roleAssignments/{{assignmentGuid}}?api-version=2015-07-01

response:

{
"error": {
"code": "MalformedRoleAssignmentRequest",
"message": "PASRP RoleAssignment request is malformed"
}
}

any help on what i need to do to fix , thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Authorization-cliRBACaz roleService AttentionThis issue is responsible by Azure service team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    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