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
Create an AppConfigurations>Managed Apps policy
In the 'basic' settings select a public app (I used Zoom, but any will do)
Skip Settings Catalogue
Configure Custom Settings .e.g:
mandatory:choice:EnforceLoginWithMicrosoft = 1
mandatory:choice:DisableLoginWithEmail = 1
Save the policy
Exporting using Export-M365DSCConfiguration -Components @("IntuneAppConfigurationPolicy")
Expected:
Applications are exported from the 'basics' settings
Actual:
Only the custom settings are exported. Not the application these settings apply to (so not a lot of good really).
I dove into this a bit deeper and it seems that the missing information cannot be pulled with the Get-MgBetaDeviceAppManagementTargetedManagedAppConfiguration used by the DSC Resource in question.
The actual applications can be retrieved with the Get-MgBetaDeviceAppManagementTargetedManagedAppConfigurationApp cmdlet. Had a look at fixing the module, and got as far as fixing Export- and Test- using this , however I cannot get Update-MgBetaDeviceAppManagementTargetedManagedAppConfigurationApp to work and the documentation is not helpful, so raising this an an issue.
Screenshot of policy attached. Yellow highlighted section not exporting:
Microsoft 365 DSC Version
1.24.1127.1
Which workloads are affected
Intune
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered:
Description of the issue
Create an AppConfigurations>Managed Apps policy
In the 'basic' settings select a public app (I used Zoom, but any will do)
Skip Settings Catalogue
Configure Custom Settings .e.g:
mandatory:choice:EnforceLoginWithMicrosoft = 1
mandatory:choice:DisableLoginWithEmail = 1
Save the policy
Exporting using Export-M365DSCConfiguration -Components @("IntuneAppConfigurationPolicy")
Expected:
Applications are exported from the 'basics' settings
Actual:
Only the custom settings are exported. Not the application these settings apply to (so not a lot of good really).
I dove into this a bit deeper and it seems that the missing information cannot be pulled with the Get-MgBetaDeviceAppManagementTargetedManagedAppConfiguration used by the DSC Resource in question.
The actual applications can be retrieved with the Get-MgBetaDeviceAppManagementTargetedManagedAppConfigurationApp cmdlet. Had a look at fixing the module, and got as far as fixing Export- and Test- using this , however I cannot get Update-MgBetaDeviceAppManagementTargetedManagedAppConfigurationApp to work and the documentation is not helpful, so raising this an an issue.
Screenshot of policy attached. Yellow highlighted section not exporting:
Microsoft 365 DSC Version
1.24.1127.1
Which workloads are affected
Intune
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: