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

App Protection Policy Targeted Apps Missing #37

Open
RJLucas123 opened this issue Apr 5, 2021 · 3 comments
Open

App Protection Policy Targeted Apps Missing #37

RJLucas123 opened this issue Apr 5, 2021 · 3 comments

Comments

@RJLucas123
Copy link

When using the latest export module (v2.1.1) I noticed that the apps I am targeting with App Protection Policy do not get exported with the rest of the JSON. If I use the PowerShell samples from Microsoft however, it exports just as it should.

@jseerden
Copy link
Owner

jseerden commented Apr 6, 2021

Hi @RJLucas123 , could you please include reproduction steps and perhaps a link to the PowerShell samples from Microsoft?

@RJLucas123
Copy link
Author

Yes. I run the following command: Start-IntuneBackup -Path C:\IntunExport. The App Protection Policies are exported but if you open each JSON you see that the section called "apps" is completely missing. Thus, if you import this JSON back into Intune the App Protection Policy is no longer targeting any applications. When I use the ManagedAppPolicy_Export.ps1 from this sample site: "https://github.com/microsoftgraph/powershell-intune-samples/tree/master/AppProtectionPolicy" the export and JSON are correct.

@jseerden
Copy link
Owner

Hi @RJLucas123 could you please validate if this issue still exists with version 3.0.1 or later?

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

2 participants