Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntuneAppConfigurationPolicy doesn't actually handle Any app settings #5566

Open
dannyKBjj opened this issue Dec 16, 2024 · 0 comments
Open

Comments

@dannyKBjj
Copy link
Contributor

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:

Image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant