-
Type:
Bug
-
Resolution: Tracked Elsewhere
-
Priority:
Low
-
Component/s: TWP - Integration and Linking (Backend)
-
1
-
Severity 3 - Minor
Issue Summary
The following endpoint builds the OAuth URL (outboundAuthUrl) with only 3 scopes instead of the full 5 required scopes.
GET /agents/configuration/knowledge
As a result, the Microsoft access token is issued without "Files.Read.All" and "Sites.Read.All", causing Rovo Chat to fail when retrieving SharePoint/OneDrive content.
Steps to Reproduce
- Set up the Rovo Connector for SharePoint & OneDrive in https://admin.atlassian.com/ and complete the admin consent flow in Microsoft Entra ID.
- Open Rovo Chat and click the "Connect" button for the Microsoft SharePoint knowledge source.
- Complete the Microsoft OAuth authentication flow.
- In Rovo Chat, type a prompt requesting SharePoint content.
Expected Results
The outboundAuthUrl should include all 5 scopes defined in the Forge manifest:
&scopes=Files.Read+Files.Read.All+Sites.Read.All+User.Read+offline_access
Rovo Chat should successfully retrieve SharePoint/OneDrive content after OAuth.
Actual Results
The outboundAuthUrl returned by "GET /agents/configuration/knowledge" only includes 3 scopes:
"outboundAuthUrl": "https://id.atlassian.com/outboundAuth/start ?containerId=... &serviceKey=onedrive &scopes=Files.Read+User.Read+offline_access"
Rovo Chat returns an error to the user:
Missing scopes: Files.Read.All, Sites.Read.All
Workaround
The M365 admin can manually grant admin consent for Files.Read.All and Sites.Read.All on the Atlassian Links app in Microsoft Entra ID via App Registrations > API permissions > Grant admin consent.
Reference: Grant admin consent in App registrations (Microsoft Docs)
- is duplicated by
-
JRACLOUD-98108 Sharepoint/OneDrive link copied into the Jira and Confluence can't be resolved as smart links
-
- In Progress
-
- blocks
-
BPG2-96 Loading...