servicecatalog / oscm

An Enterprise-ready Cloud Services Management Software.
https://openservicecatalogmanager.org
Apache License 2.0
38 stars 14 forks source link

Group is created on Azure AD when creating an organization failing. #650

Closed mchudy-fujitsu closed 4 years ago

mchudy-fujitsu commented 4 years ago

Version Info 18.1

Describe the bug Group is created on Azure AD when creating an organization failing.

How to Reproduce Steps to reproduce the behavior:

  1. Go to 'oscm-portal/operator/createOrganization.jsf.'
  2. Create a new organization for a user already having an organization.

Observed behavior After failure on creating a new organization, the new organization is created inside Azure AD.

Expected behavior No new organization on Azure AD is created.

Screenshots bug1 bug2

GoebelL commented 4 years ago

This works as designed. Indeed the operation is not rolled back in Azure AD, but it is repeatable and resuming well after correcting the user in step 2. Actually, the main point and desired behaviour is, that the administrator can recover from such errors and create eventual consistency by correcting his operations.