-
Notifications
You must be signed in to change notification settings - Fork 448
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
IntuneDeviceRemediation: Assignments are exported without display name #4726
Comments
You are correct, I didn't include the |
@FabienTschanz I just tested to deploy this resource into another tenant and then update it and it looks good except for the assignments, so is not only not exporting Please note that since it doesn't support |
@ricmestre Currently working on a PR that switches all Intune resources to |
@ricmestre Found the issue... It's unbelievable but I already goofed up again on a resource. Guess I need to add a check if the Intune assignment update was ok, otherwise I will always believe that it was done correctly. But that's another story. |
That's why I've created my own integration tests pipeline which creates/updates/removes the resources, since I cannot rely on the tests being done in this repo because they're not being looked at. That's how I caught the problem on this resource because after each action I always verify the result with EDIT: When I can, maybe later today, I'll test your 2 resources for the PlatformScripts, Line 316 in 399a7a0
|
@FabienTschanz FYI, just tested your last 2 resources now, Sure enough by using common code on all these resources on your next PR as you mentioned then this problem will go away. |
@ricmestre Thanks a bunch for the information, I will have a look at that one as well. Will update the |
Description of the issue
Just like IntuneAppConfigurationDevicePolicy the assignments are not being exported with display name, so even though I'm able to apply the scripts into another target tenant they don't have the assignments due to different Ids.
@FabienTschanz Could you please also check this one? EDIT: Looks like you used the same code on the other resources you created so they all share the same problem.
Microsoft 365 DSC Version
1.24.529.1
Which workloads are affected
Intune
The DSC configuration
Verbose logs showing the problem
N/A
Environment Information + PowerShell Version
N/A
The text was updated successfully, but these errors were encountered: