Thank you for posting this in Microsoft Q&A.
I understand you want to know if MSAL can be used with an on-premises IP-hosted application.
Yes, it is possible to use the Microsoft Authentication Library (MSAL) in an on-premises IP hosted application.
MSAL.NET, MSAL Java, and MSAL Python can be used to get tokens from Active Directory Federation Services (AD FS) 2019 or later. Earlier versions of AD FS, including AD FS 2016, are unsupported by MSAL. If you need to continue using AD FS, you should upgrade to AD FS 2019 or later before you update your applications from ADAL to MSAL.
To use MSAL with AD FS, you need to register your application with AD FS and configure it to use MSAL. You can find more information on how to do this in the following linkhttps://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/desktop-mobile/adfs-support
Hope this helps. Do let us know if you any further queries.
Thanks,
Navya.
If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.