Create Pull Request
| Date | Scan | Status | Result |
|---|---|---|---|
| 2026-01-14 00:00 | #250 | in_progress |
Biased
|
| 2026-01-13 00:00 | #246 | completed |
Biased
|
| 2026-01-11 00:00 | #240 | completed |
Biased
|
| 2026-01-10 00:00 | #237 | completed |
Biased
|
| 2026-01-09 00:34 | #234 | completed |
Biased
|
| 2026-01-08 00:53 | #231 | completed |
Biased
|
| 2026-01-06 18:15 | #225 | cancelled |
Clean
|
| 2025-08-17 00:01 | #83 | cancelled |
Clean
|
| 2025-07-16 00:00 | #52 | completed |
Biased
|
| 2025-07-13 21:37 | #48 | completed |
Biased
|
| 2025-07-12 23:44 | #41 | cancelled |
Biased
|
Install-Module Microsoft.Entra Install-Module microsoft.Entra.Beta
Get-EntraServicePrincipal -SearchString "Microsoft Azure PowerShell"
# Determine whether policy exists
Get-EntraBetaPolicy | Where {$_.DisplayName -eq "EnableDirectAuth"}
# Create if not exists
$policy = New-EntraBetaPolicy `
-Definition @('{"HomeRealmDiscoveryPolicy":{"AllowCloudPasswordValidation":true}}') `
-DisplayName "EnableDirectAuth" `
-Type "HomeRealmDiscoveryPolicy"
# Determine whether a policy for the service principal exist
Get-EntraBetaServicePrincipalPolicy `
-Id $powershellSPN.ObjectId
# Add a service principal policy if not exist
Add-EntraBetaServicePrincipalPolicy `
-Id $powershellSPN.ObjectId `
-refObjectID $policy.ID