Provide an appropriate name for the application and create the new app.
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.
Click Save.
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.
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”.
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."}}