Closed LostLogic closed 1 year ago
Thanks for following up on this.
Running the command -Debug
points to this being a service error. You've already consented to the required permissions and the command sending the correct request body as shown at Create deviceEnrollmentWindowsHelloForBusinessConfiguration. The same can also be reproduced in Graph Explorer.
Please open a ticket/question at https://developer.microsoft.com/en-us/graph/support as this is a service issue. Rember to include the requestId
and date
of the affected request in your ticket/question. See Microsoft Graph PowerShell module troubleshooting guide for details on how to retrieve the requestId
and date
.
$Body = @{
"@odata.type" = "#microsoft.graph.deviceEnrollmentWindowsHelloForBusinessConfiguration"
"displayName" = "Display Name value"
"description" = "Description value"
"priority" = 8
"version" = 7
"pinMinimumLength" = 0
"pinMaximumLength" = 0
"pinUppercaseCharactersUsage" = "required"
"pinLowercaseCharactersUsage" = "required"
"pinSpecialCharactersUsage" = "required"
"state" = "enabled"
"securityDeviceRequired" = $true
"unlockWithBiometricsEnabled" = $true
"remotePassportEnabled" = $true
"pinPreviousBlockCount" = 5
"pinExpirationInDays" = 3
"enhancedBiometricsState" = "enabled"
}
New-MgDeviceManagementDeviceEnrollmentConfiguration -BodyParameter $Body -Debug
This repository is intended for issues related to the functionality of the module. We may not be the best place to answer some queries that are tied to the functionality of the API.
I'll follow up with MS Graph support directly and report back once they've come back to me. Thanks Peter
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
I've been trying (and failing) to create a new Windows Hello for Business policy with the New-MgDeviceManagementDeviceEnrollmentConfiguration cmdlet.
Command 1:
Command 2
Both commands return the same error:
I'm authenticated with DeviceManagementServiceConfig.ReadWrite.All and DeviceManagementConfiguration.ReadWrite.All, so it shouldn't be a permission issue. I'm also able to return the already configured default Windows Hello for Business policy with
Get-MgDeviceManagementDeviceEnrollmentConfiguration | Where-object -Property Description -like -Value "*Windows Hello*"
Am I doing something wrong, or have I hit a bug somewhere?
The licensing level of my tenant is E3.
Edit: Fix formatting in post due to hash sign referencing other issues which was not my intent