Project

General

Profile

Actions

Defect #2932

open

Create of guest user fails

Added by Vladimír Kotýnek over 2 years ago. Updated 7 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/06/2021
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

When creating a GUEST user object the connector sends invitation and then performs update operation. This update operation fails with exception:

com.microsoft.graph.http.GraphServiceException: Error code: Request_ResourceNotFound
Error message: Resource 'vladimir_kotynek.cz#EXT#@MYTESTTENANT.onmicrosoft.com' does not exist or one of its queried reference-property objects are not present.

PATCH https://graph.microsoft.com/v1.0/users/vladimir_kotynek.cz%23EXT%23%40MYTESTTENANT.onmicrosoft.com
SdkVersion : graph-java/v2.6.0
Authorization : [PII_REDACTED]
{"accountEnabled":true,"givenName":"BCV","mail":"v[...]

404 : Not Found
[...]

[Some information was truncated for brevity, enable debug logging for more details]
    at com.microsoft.graph.http.GraphServiceException.createFromConnection(GraphServiceException.java:501)
...

The request in IdM shows that state on system is "Error" until provisioning re-try mechanism re-tries the operation. Update is performed correctly, however the first thing the user will see after the request is submited (if the role has no approval workflow) is "Error". This would be acceptable in cases where the role is assigned automatically but not for user requests.

Plus in case the automapping feature in IdM is disabled re-try mechanism performs another CREATE operation and a second (duplicate) invitation e-mail is sent to the user. The connector should at least check if the account already exists before sending the invitation.

Actions #1

Updated by Roman Kučera over 2 years ago

  • Target version set to 1.0.5
Actions #2

Updated by Roman Kučera over 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

LGTM,
released

Actions #3

Updated by Peter Štrunc 7 months ago

  • Status changed from Closed to In Progress
  • Target version deleted (1.0.5)
Actions

Also available in: Atom PDF