Skip to content

Commit b967fd1

Browse files
committed
enable broker based authentication for OneDrive for Intune/Entra-managed devices
1 parent 39ab696 commit b967fd1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Kp2aBusinessLogic/Io/OneDrive2FileStorage.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ public OneDrive2FileStorage()
208208
{
209209
_publicClientApp = PublicClientApplicationBuilder.Create(ClientID)
210210
.WithRedirectUri($"msal{ClientID}://auth")
211+
.WithBroker(true) // Enable broker authentication to pass device ID for Intune/Entra managed devices
211212
.Build();
212213
}
213214

0 commit comments

Comments
 (0)