Skip to content

Instantly share code, notes, and snippets.

@darrenjrobinson darrenjrobinson/schema.ps1
Last active Jul 19, 2019

Embed
What would you like to do?
Azure AD MFA Microsoft Identity Manager Management Agent. Associated blogpost https://blog.darrenjrobinson.com/an-azure-mfa-management-agent-for-user-mfa-reporting-using-microsoft-identity-manager/
# Azure MFA API Schema
$obj = New-Object -Type PSCustomObject
$obj | Add-Member -Type NoteProperty -Name "Anchor-ID|String" -Value "f2ceedf9-888f-4313-bf97-2326f066abc3"
$obj | Add-Member -Type NoteProperty -Name "objectClass|String" -Value "mfaUser"
$obj | Add-Member -Type NoteProperty -Name "userPrincipalName|string" -Value "string"
$obj | Add-Member -Type NoteProperty -Name "isMfaRegistered|boolean" -Value $true
$obj | Add-Member -Type NoteProperty -Name "isRegistered|boolean" -Value $true
$obj | Add-Member -Type NoteProperty -Name "authMethods|string[]" -Value ("string","string")
$obj | Add-Member -Type NoteProperty -Name "isEnabled|boolean" -Value $true
$obj | Add-Member -Type NoteProperty -Name "isCapable|boolean" -Value $true
$obj | Add-Member -Type NoteProperty -Name "authMethodsCount|integer" -Value 2
$obj | Add-Member -Type NoteProperty -Name "hasAuthApp|boolean" -Value $true
$obj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.