Gerenios / AADInternals

AADInternals PowerShell module for administering Azure AD and Office 365
http://aadinternals.com/aadinternals
MIT License
1.24k stars 214 forks source link

[Feature Request] Support Integrated Windows Authentication WAM #41

Open CravateRouge opened 1 year ago

CravateRouge commented 1 year ago

It would be nice if the AADInternals commands could support the WAM component integrated by default in Win10 for the authentication process. This would allow a user to authenticate with its session certificate for example. See https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/Integrated-Windows-Authentication or the MSAL.PS Get-MsalToken.ps1 which use it for authentication.

NestoriSyynimaa commented 1 year ago

I think this is kind of already there, as you can get access tokens using PRT.

CravateRouge commented 1 year ago

Maybe I'm not using the right term, but let me show you: Get-AADIntAccessToken msaltokenWAM

With MSAL.PS you're able to log in without providing the credentials. Would it be possible to do the same with AADInternals?

NestoriSyynimaa commented 1 year ago

Ah, got you! I'll have a look at some point.