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

IntuneMobileAppConfigurationPolicyIOS is not needed #5459

Open
ricmestre opened this issue Nov 25, 2024 · 9 comments
Open

IntuneMobileAppConfigurationPolicyIOS is not needed #5459

ricmestre opened this issue Nov 25, 2024 · 9 comments

Comments

@ricmestre
Copy link
Contributor

Description of the issue

IntuneMobileAppConfigurationPolicyIOS is not needed, this resource is already covered by IntuneAppConfigurationDevicePolicy which takes care of both Android and iOS.

Microsoft 365 DSC Version

1.24.1120.1

Which workloads are affected

Intune

The DSC configuration

N/A

Verbose logs showing the problem

N/A

Environment Information + PowerShell Version

Win11/PS5.1
@NikCharlebois
Copy link
Collaborator

@ykuijs FYI.

@ykuijs
Copy link
Member

ykuijs commented Nov 26, 2024

This was new resource was submitted by @dannyKBjj and merged last week in PR #5401.

@dannyKBjj, were you aware of the resource @ricmestre is mentioning and that is was capable of also managing the iOS policies?

If this is a duplicate, we will have to remove the newly added resource again. Working on a PR now and will include this rollback in that PR.

@dannyKBjj
Copy link
Contributor

Are you sure? Because I was testing with what I believed to be the latest release and it was not exporting those policies (hence my creating the module), there are Managed App policies (which might be what this existing module does) and managed device policy which targets the apps (which is what mine does).... I.e. within Intune GUi - Apps>App Configuration Policies > create > managed devices... Which despite the name brings you 'Create App Configuration Policy' (for managed devices, rather than managed apps)

@dannyKBjj
Copy link
Contributor

Unless this other module was in a very recent release (like within last month, as I can't say I've been religiously updating since downloading the module) I don't think it is anything to do with mine.

@ricmestre
Copy link
Contributor Author

ricmestre commented Nov 26, 2024

@dannyKBjj See below, I'm able to export the same policy Apple iOS - Outlook Configuration Profile using both DSC resources, difference is that IntuneAppConfigurationDevicePolicy also works for Android policies.

Image

EDIT: And yes both policies are Managed devices policies

@ricmestre
Copy link
Contributor Author

@dannyKBjj IntuneAppConfigurationDevicePolicy has been made available back in May in version 1.24.529.1

@dannyKBjj
Copy link
Contributor

Fair enough, I have submitted another module to support Android which was also accepted (but is not in latest release). I guess that is also redundant and will need removing (IntuneAndroidManagedStoreAppConfiguration).

@ricmestre
Copy link
Contributor Author

Yep, just looked at your code and IntuneAndroidManagedStoreAppConfiguration is also duplicate, I'm not even saying which way is better, but since there's already an older version available for several months that's the one that we should use.

@dannyKBjj
Copy link
Contributor

I'm about to submit a load more modules for things I don't think are exporting, I will make sure i'm on latest version and do a re-export of everything from my tenant to double check before I do.

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

4 participants