Skip to content

Q: Is Azure wrong about removing group members? #959

@nlfiedler

Description

@nlfiedler

I would post this as a discussion as this is not so much a bug as a question.

The question is this: is Azure removing group members incorrectly? They send this:

{
    'schemas': ['urn:ietf:params:scim:api:messages:2.0:PatchOp'],
    'Operations': [{
      'op': 'Remove',
      'path': 'members',
      'value': [{ 'value': 'user-joe' }]
    }]
}

Not surprisingly, this has no effect when passed to scim-patch, since according to 3.5.2.2 this format is not one of the mentioned possibilities. It seems perfectly reasonable to expect the remove operation to look like the add operation as described in 3.5.2.1, so I can sympathize with their wishful thinking.

The fun part now will be fixing their requests since I have no control over what they send or what the standard specifies.

Also filing this so other people can find this and not spend too much time trying to debug the issue.

Metadata

Metadata

Labels

wontfixThis will not be worked on

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions