Commit 3f953c9
committed
Fix Bug #3772: Fix hardcoded Microsoft Graph endpoint usage in SharePoint drive search handling
`searchDriveForPath()` was still constructing the drive search URL with the commercial Graph endpoint, `https://graph.microsoft.com/v1.0`, instead of using the configured Graph base URL. This caused GCC High / US Government tenants using `graph.microsoft.us` to incorrectly jump back to the commercial endpoint during local file or directory creation checks, resulting in `401 Unauthorized` responses. The fix changes the URL construction to use `driveByIdUrl`, ensuring the search request honours the configured national-cloud endpoint. ([GitHub][1])1 parent 0b7299a commit 3f953c9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1609 | 1609 | | |
1610 | 1610 | | |
1611 | 1611 | | |
1612 | | - | |
| 1612 | + | |
1613 | 1613 | | |
1614 | 1614 | | |
1615 | 1615 | | |
| |||
0 commit comments