Graph API Connection doesn't work

I have tried to set up a Microsoft Graph Connector to Confluence cloud. I followed the instructions according oAuth 2.0 as follows:

  1. Sign in to Atlassian Developer console with your Atlassian Confluence admin account.
  2. Click on Create and select OAuth 2.0 integration.
  3. Provide an appropriate name for the application and create the new app.
  4. Navigate to Permissions from the navigation pane on the left. Click Add for Confluence API. Once added, click on Configure, and Edit scopes and select the following scopes.

Expand table

Scope name Code Description
View content details read:content-details:confluence Crawl content satisfying criteria.
View groups read:group:confluence To access group permissions of content.
View user details read:user:confluence To access individual user details to support permissions.
  1. Click Save.
  2. Navigate to Authorization from the navigation pane on the left. Add the callback URL, for Microsoft 365 Enterprise: https://gcs.office.com/v1.0/admin/oauth/callback, for Microsoft 365 Government: https://gcsgcc.office.com/v1.0/admin/oauth/callback and save the changes.
  3. Navigate to Settings from the navigation pane on the left. You get the Client ID and Secret from this page.Complete the connection settings step using the Client ID and Secret.

However, after I try to log in with the client ID and the client secret, I get the error message “Failed to load app”.

Have any of you ever had this problem?

Hi Jan,

I think you may have to go to Distribution in your app and share it. That step is not in the Microsoft guide…

Maybe it then works for you (and then breaks again as it did for me)

Wish you all the best,
a suffering user

Ok now for me the connections that used to work dont work anymore as well.

StatusCode: Forbidden, Reason:Forbidden

Nothing changed. Fuck this.

Hi Lukas,

thanks for your update. I wasn’t able yet to test it again due to some internal rules.

I have also created a support ticket. As soon as I have results here I’ll let you know.

Keep your head up :wink:

Same here with Confluence On-premises Microsoft 365 Copilot connector when clicking authorize:
{"error":{"details":[{"code":"InvalidValue","source":"callbackUri","message":"Invalid callbackUri https://eur1prod.gcs.office.com/v1.0/admin/oauth/callback?error=invalid_scope&error_description=The+scope+used+in+the+request+%5B%27admin%27%5D+is+not+valid+for+client+scope+%5B%27ADMIN%27%5D&state=TENANT-ID-TENANT-ID|confluenceonprem1|2171. Url does not contain 'code'"}],"code":"InvalidRequest","message":"The request is malformed or incorrect."}}

I logged a call with Microsoft :see_no_evil_monkey: