Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-1613

MS Graph Api Connector: Creating new group with a "members" creates the group but "members" field is empty

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.20.0
    • 1.5.20.0
    • MS Graph API Connector
    • None

    Description

      When we create new Azure AD group with "members" field we expect the group to be created with members, but it is not

      create REST call:

      curl --header "X-OpenIDM-Username: openidm-admin" --header "X-OpenIDM-Password: openidm-admin" --header "Accept-API-Version: resource=1.0" --header "Content-Type: application/json" --request POST --data '{"description": "The Biggest Group Ever", "displayName": "The Biggest Group Ever", "mailNickname": "biggest-group-ever", "mailEnabled": false, "securityEnabled": true, "members": ["1659d667-9db3-4ded-8fa1-79751570ec95"]}' "http://localhost:8080/openidm/system/azuread/group?_action=create" | jq
      

      response:

      {
        "_id": "de3d17e6-5c1c-4ac5-a90a-ef89b046c199",
        "__NAME__": "The Biggest Group Ever",
        "securityEnabled": true,
        "members": [],
        "description": "The Biggest Group Ever",
        "groupTypes": [],
        "mailEnabled": false,
        "createdDateTime": "2021-04-13T09:18:30Z",
        "securityIdentifier": "S-1-12-1-3728545766-1254448156-2314144425-2579580592",
        "proxyAddresses": [],
        "displayName": "The Biggest Group Ever",
        "mailNickname": "biggest-group-ever",
        "creationOptions": []
      }
      

      Attachments

        Activity

          People

            gael Gael Allioux
            son.nguyen Son Nguyen
            Son Nguyen Son Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: