#Devicecode
How does one supposed to install the # Azure Arc agent on a Linux server when # Microsoft disabled # DeviceCode flow logins?

Interest | Match | Feed
Origin
infosec.exchange
September 21, 2025 at 7:13 AM
How does one supposed to install the #azure Arc agent on a Linux server when #microsoft disabled #devicecode flow logins?
September 21, 2025 at 7:13 AM
Yesterday on Linkedin I shared another story about device codes being exploited by hackers, so this seems like a good time to link my blog post regarding #Devicecode on agderinthe.cloud

agderinthe.cloud/2025/01/31/i...
I’m so ACDC! – Alarmingly Concerned (about) Device Codes!
What’s a Device Code? When you want to log in and authenticate to Entra ID, you may not always have the same input capabilities as you have on your computer. This can be devices without keybo…
agderinthe.cloud
September 2, 2025 at 6:45 AM

You can assess impact via Entra sing-in logs (see picture) or Graph PowerShell:

Get-MgBetaAuditLogSignIn -Filter "AuthenticationProtocol eq 'deviceCode'"

CA template (Use Upload policy file in CA) here:
github.com/nathanmcn...

Volexity report: www.volexity.com/blo...
February 14, 2025 at 1:11 AM
Have you blocked Device Code flow by default yet? If not, this very slow Graph PowerShell Beta command will tell you who is using them Get-MgBetaAuditLogSignIn -Filter "AuthenticationProtocol eq 'deviceCode'" Microsoft calls this a best practice, so go create the CA policy ;)
November 18, 2024 at 12:06 AM