public/eidsca/@Test-MtEidscaControl.txt

<#
.SYNOPSIS
    Tests your environment for compliance with the specified EIDSCA control
 
.DESCRIPTION
    Validates your environment against the specified EIDSCA control by comparing MS Graph result with the recommended value.
 
.EXAMPLE
    Test-MtEidscaControl -CheckId AP01
 
    Returns the result of the EIDSCA AP01 control check
#>
 
Function Test-MtEidscaControl {
    [CmdletBinding()]
    [OutputType([bool])]
    param(
        # Id for the EIDSCA control check to test
        [Parameter(Mandatory)]
        [ValidateSet(%ArrayOfControlIds%)]
        [string]
        $CheckId
    )
 
    & "%InternalFunctionNameTemplate%"
}