You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of the scenario you tried and the problem that is occurring
After exporting two IntuneDeviceEnrollmentStatusPageWindows10 policies from one tenant (the default one assigned to all users/devices and another one custom) with cert-based auth when trying to apply the custom one to another tenant, also using certificate, it doesn't work complaining that it might be running in interactive mode.
Usually this problem is due to incorrect permissions nevertheless please note that in both tenants I've given the app and granted admin consent for the required permissions DeviceManagementServiceConfig.ReadWrite.All and DeviceManagementConfiguration.ReadWrite.All.
Trying to deploy it with credentials there's yet another problem that it detects that the resource is absent in the target tenant, Test-TargetResource returns false, but it doesn't create the resource at all, but I'd like to have the issue with the Service Principal with certificate solved, this one is not a priority for me right now, it's just for your information.
Verbose logs showing the problem
VERBOSE: [REDACTED]:[[IntuneDeviceEnrollmentStatusPageWindows10]IntuneDeviceEnrollmentStatusPageWindows10-REDACTED] Creating an Intune Device Enrollment Configuration for Windows10 with DisplayName {REDACTED}
VERBOSE: [REDACTED]:[[IntuneDeviceEnrollmentStatusPageWindows10]IntuneDeviceEnrollmentStatusPageWindows10-REDACTED] POST https://graph.microsoft.com/beta/deviceManagement/deviceEnrollmentConfigurations/REDACTED_Windows10EnrollmentCompletionPageConfiguration/assign with 815-byte payload
VERBOSE: [REDACTED]:[[IntuneDeviceEnrollmentStatusPageWindows10]IntuneDeviceEnrollmentStatusPageWindows10-REDACTED] received 841-byte response of content type application/json
PowerShell Desired State Configuration does not support execution of commands in an interactive mode. Please ensure that the underlying command is not prompting for user input, such as missing mandatory parameter, confirmation prompt etc.
+ CategoryInfo : OperationStopped: (:) [], CimException
+ FullyQualifiedErrorId : System.NotSupportedException
+ PSComputerName : localhost
Suggested solution to the issue
N/A
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Hi gents, I knew it was something silly
in function definition of Update-DeviceEnrollmentConfigurationPriority, the catch statement was missing ` to link New-M365DSCLogEntry to the parameter next line
Details of the scenario you tried and the problem that is occurring
After exporting two IntuneDeviceEnrollmentStatusPageWindows10 policies from one tenant (the default one assigned to all users/devices and another one custom) with cert-based auth when trying to apply the custom one to another tenant, also using certificate, it doesn't work complaining that it might be running in interactive mode.
Usually this problem is due to incorrect permissions nevertheless please note that in both tenants I've given the app and granted admin consent for the required permissions DeviceManagementServiceConfig.ReadWrite.All and DeviceManagementConfiguration.ReadWrite.All.
Trying to deploy it with credentials there's yet another problem that it detects that the resource is absent in the target tenant, Test-TargetResource returns false, but it doesn't create the resource at all, but I'd like to have the issue with the Service Principal with certificate solved, this one is not a priority for me right now, it's just for your information.
Verbose logs showing the problem
Suggested solution to the issue
N/A
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Win10
Version of the DSC module that was used ('dev' if using current dev branch)
1.23.628.1
The text was updated successfully, but these errors were encountered: