Issue Summary

      Couldn't connect to Azure AD.

      Steps to Reproduce

      1. Login as an administrator to the admin portal: https://admin.atlassian.com
      2. Navigate to Security > Identity Providers > Select the Directory
      3. You will end up seeing the below error in UI:

      Expected Results

      It should load oSync config in UI.

      Actual Results

      After logging in to admin portal as administrator, on navigating to this path: Security > Identity Providers > Select the Directory below error is shown in the UI.

      400 errors are seen in the network trace while making call to below endpoints:

      https://admin.atlassian.com/gateway/api/osync-service/orgs/um/org/<OrgId>/syncConfig 
      
      https://admin.atlassian.com/gateway/api/admin/private/org/<OrgId>/directory/<DirectoryId>/reconnection-callback

      Workaround

      Navigating to this Link: https://admin.atlassian.com/o/${organizationId}/idp/${directoryId}/saml should take you  directly to the SAML configuration for Azure AD identity provider directory with the option to Delete configuration. Once the SAML config is deleted, You can continue with the steps to disconnect your Microsoft account, and then re-authenticate to Azure AD so you can reconfigure your sync settings.

        1. image-2023-09-29-15-33-48-388.png
          image-2023-09-29-15-33-48-388.png
          59 kB
        2. image-2023-09-29-15-34-19-872.png
          image-2023-09-29-15-34-19-872.png
          50 kB
        3. image-2023-09-29-15-41-57-682.png
          image-2023-09-29-15-41-57-682.png
          50 kB
        4. toolport.har
          2.15 MB

              686b6de14f53 Neel Gandhi
              29f3265087c2 Kodakandla Vijay Kumar
              Affected customers:
              1 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: