A Microsoft file hosting and synchronization service.
OneDrive File Picker v8 - exception Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException when accessing shared library
Anonymous
When trying to open shared library using OneDrive File Picker v8, there is an exception: Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException'. Problem can be reproduced by javascript-basic example after some adjustments:
- in configuration set sharedLibraries: true
- in auth.js add handling of authentication with command.type = "ms-graph"
It looks like FilePicker is not sending command "authenticate" to the parent window, for providing correct access_token for the resource which is the shared library.
Please clarify if in such a case, OneDrive picker should send correct "authenticate" command to parent window? Or maybe there is other reason for such a problem?
Microsoft 365 and Office | OneDrive | For business | Windows
Microsoft 365 and Office | OneDrive | For business | Windows
Sign in to answer