provisioning azure is not searching correctly

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • 2.6.11
    • Affects Version/s: None
    • Component/s: None
    • None

      Should not search twice, should search by other fields

            if (!StringUtils.isBlank(grouperTargetGroup.getId())) {
              grouperAzureGroup = GrouperAzureApiCommands.retrieveAzureGroup(
                  azureConfiguration.getAzureExternalSystemConfigId(), "id",
                  grouperTargetGroup.getId());
            }      String displayName = grouperTargetGroup
                .retrieveAttributeValueString("displayName");
            if (grouperAzureGroup == null && !StringUtils.isBlank(displayName)) {
              grouperAzureGroup = GrouperAzureApiCommands.retrieveAzureGroup(
                  azureConfiguration.getAzureExternalSystemConfigId(), "displayName", displayName);
            }
       

            Assignee:
            Chris Hyzer (upenn.edu)
            Reporter:
            Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: