Azure / Azure/AzureAD-BYOA-Provisioning-Samples

HostedService POST scim/users returns 200 status code instead of 201

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
21
Forks
23
PR merge metrics
No merged PRs in 30d

Description

I think this is probably a bug in Microsoft.SystemForCrossDomainIdentityManagement, but I'm not sure where to report bugs for that library. I was seeing this issue in my own code and confirmed with the `SampleProvider` included in Microsoft.SystemForCrossDomainIdentityManagement.

Looking at the decompiled code, i see the proper status code being set, but I think maybe setting Response.StatusCode doesn't work correctly with WebApi.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the POST /scim/users response with the included SampleProvider and inspect how Microsoft.SystemForCrossDomainIdentityManagement is hosted through WebApi. Trace the response status from the library's decompiled behavior to the actual HTTP response, then verify that a successful user creation returns 201 rather than 200.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.