We are in hybrid identity configuration with Azure. Our system incorporates an internal Single Sign-On (SSO) solution named CAS. All authentication procedures for on-premise applications are funneled through CAS, which subsequently forwards these requests to Azure AD for authentication. The configuration of CAS involves the utilization of the SAML protocol to communicate with Azure AD.
Presently, we are operating an on-premise application called App1, which is a Linux-based file-sharing system, resembling a compact version of SharePoint. Notably, this application dosen't support managed identities ( SPN ..) and does not support the SMB protocol.
Our current objective involves developing a script that can automate the process of sending files to a specific HTTPS URL on this application, such as https://app1.contoso.com/documentlibrary/.
Considering the circumstances, my thought process revolves around determining the appropriate managed identity that can be employed within the script to facilitate authentication through the SSO (CAS) and subsequently Azure AD.