Address common issues that may arise during taskbar layout deployment and validate that your configuration is working correctly across your environment.
Issue 1: XML not applying to existing users
# Check if the layout file exists in the Default profile
Test-Path "C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml"
# Verify XML content is correct
Get-Content "C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml"
Issue 2: UWP apps not appearing in taskbar
Ensure you're using the correct AppUserModelID for UWP applications:
# Get AppUserModelID for installed UWP apps
Get-AppxPackage | Where-Object {$_.Name -like "*Edge*"} | Select-Object Name, PackageFamilyName
# Example for Microsoft Edge:
# AppUserModelID: "Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge"
Issue 3: Policy not applying immediately
# Force device policy sync
Invoke-RestMethod -Uri "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/{deviceId}/syncDevice" -Method POST -Headers $headers
# On the device, trigger manual sync
Start-Process "ms-settings:workplace" -Wait
Validation steps:
- Create a new local user account on a test device
- Sign in as the new user
- Verify the taskbar shows your configured pinned applications
- Test that users can still pin/unpin additional applications (if desired)
- Check Intune reporting for policy compliance status
Warning: If users report they cannot customize their taskbar after deployment, this indicates the policy is being enforced rather than just setting defaults. Review your XML configuration and deployment method.
Verification: Run a compliance report in Intune to confirm successful deployment across your target device groups and validate user experience on sample devices.