AB-650 Practice Question 3122

Exam: AB-650
Domain: Configure and manage Microsoft 365 tenants and workloads
Difficulty: hard
You need to connect to Microsoft Graph via PowerShell to automate user licensing without storing hardcoded credentials. Which authentication method should you configure for an automated background runbook?

Answer Options

A
Managed identity or certificate-based service principal authentication
B
Storing cleartext Global Admin credentials in a script file
C
Interactive web login with SMS codes for background jobs
D
Basic Authentication with NTLM

Correct Answer

A: Managed identity or certificate-based service principal authentication

Explanation

A managed identity or certificate-based service principal authentication in Microsoft Graph PowerShell allows secure non-interactive administration without client secrets.