user-migration icon indicating copy to clipboard operation
user-migration copied to clipboard

Bug in technical profile sample - jit-migration-v2

Open bzuillsmith opened this issue 3 years ago • 0 comments

I think this technical profile validation step is missing a precondition. It should not run the REST call if the user is already found in AzureAD. We only want to know if it is in the legacy DB when it's not found in Azure AD.

Probably something like

          <Preconditions>
            <Precondition Type="ClaimsExist" ExecuteActionsIf="true">
              <Value>objectId</Value>
              <Action>SkipThisValidationTechnicalProfile</Action>
            </Precondition>
          </Preconditions>

Just wanted to post this issue rather than make a pull request because I'm still fairly new to all this and don't want to presume I'm right

bzuillsmith avatar Oct 01 '22 00:10 bzuillsmith