You could try to allow access for Apps that don't use modern authentication under Sharepoint online admin center-> access control:
Most current Office mobile and desktop applications use modern authentication (which is an implementation of OAuth2), however there are third-party apps, older Office apps & Visual studio applications (SSDT-SSIS) that uses other authentication methods like basic authentication and forms based authentication. Most of the times ADFS claims rules are setup to block non-modern authentication protocols which blocks all access to O365 except browser-based applications.
Reference:https://techcommunity.microsoft.com/t5/sql-server-support/odata-source-connection-manager-to-pwa-project-web-app-project/ba-p/318986
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.