Hi @IT team
Thank you for reaching out to the Microsoft Q&A platform.
The error message "AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption" indicates that there is an issue with the authentication process between your SAP B1 application and Microsoft 365 OneDrive.
This error occurs when the authorization code that is used to authenticate the user is not properly secured with a Proof Key for Code Exchange (PKCE). PKCE is a security feature that is used to prevent certain types of attacks, such as code injection attacks.
To resolve this issue, you will need to modify your SAP B1 application to use PKCE when authenticating with Microsoft 365 OneDrive. You can do this by following the steps outlined in the "Add PKCE to your application" section of the Microsoft documentation.
Once you have added PKCE to your application, you should be able to authenticate with Microsoft 365 OneDrive without encountering the "AADSTS9002325" error. If you continue to experience issues, you may want to contact Microsoft support for further assistance.
<If this does answer your question, please accept it as the answer as a token of appreciation.>