I want to know if I can use MSAL in an on premise IP hosted application? I want to use Microsoft Authentication Library in a non deployed application. Is it possible to do that and if yes then how?

Mohit Parwani 0 Reputation points
2024-09-10T14:42:29.76+00:00

I want to know if I can use MSAL in an on premise IP hosted application? I want to use Microsoft Authentication Library in a non deployed application. Is it possible to do that and if yes then how?

Microsoft Entra
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Navya 9,640 Reputation points Microsoft Vendor
    2024-09-16T01:38:47.14+00:00

    Hi @Mohit Parwani

    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://video2.skills-academy.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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.