Pinning New Teams Icon to Windows 10 Taskbar via Intune XML file is not working:

Autumn Fox 20 Reputation points
2024-02-15T11:34:24.6+00:00

I am trying to pin the New Teams icon to the taskbar via Intune, and it does not seem to be working; here is the XML file I am using: (It is correctly pinning Outlook and Word to the taskbar, but not New Teams) Instead of using the App User Model ID I want to try to use the Desktop Application Link Path of New Teams, but I do not see where the New Teams shortcut is natively created. (Am I going to have to copy the New Teams shortcut from Intune to the following location? DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs** Below Method Is Not Working: AppUserModelID="MSTeams_8wekyb3d8bbwe!MSTeams Has anyone been able to successfully pin New Teams to the taskbar via Intune?


<?xml version="1.0" encoding="utf-8"?> <LayoutModificationTemplate xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout" Version="1"> <LayoutOptions StartTileGroupCellWidth="6" StartTileGroupsColumnCount="1" /> <DefaultLayoutOverride> <StartLayoutCollection> <defaultlayout:StartLayout GroupCellWidth="6" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"> <start:Group Name="Life at a glance" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"> <start:Tile Size="2x2" Column="0" Row="0" AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" /> <start:DesktopApplicationTile Size="2x2" Column="4" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Excel.lnk" /> <start:Tile Size="2x2" Column="4" Row="2" AppUserModelID="Microsoft.Office.OneNote_8wekyb3d8bbwe!microsoft.onenoteim" /> <start:Tile Size="2x2" Column="0" Row="0" AppUserModelID="Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe!Microsoft.MicrosoftOfficeHub" /> <start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Outlook.lnk" /> <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Word.lnk" /> <start:DesktopApplicationTile Size="2x2" Column="2" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\PowerPoint.lnk" /> <start:DesktopApplicationTile Size="2x2" Column="0" Row="4" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk" /> <start:Tile Size="2x2" Column="2" Row="0" AppUserModelID="MSTeams_8wekyb3d8bbwe!MSTeams" /> </start:Group> </defaultlayout:StartLayout> </StartLayoutCollection> </DefaultLayoutOverride> <CustomTaskbarLayoutCollection> defaultlayout:TaskbarLayout taskbar:TaskbarPinList <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" /> <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Outlook.lnk" /> <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Excel.lnk" /> <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Word.lnk" /> <taskbar:DesktopApp AppUserModelID="MSTeams_8wekyb3d8bbwe!MSTeams" /> <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk" /> <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\OneNote.lnk" /> </taskbar:TaskbarPinList> </defaultlayout:TaskbarLayout> </CustomTaskbarLayoutCollection> </LayoutModificationTemplate>

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,538 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,029 questions
0 comments No comments
{count} votes

Accepted answer
  1. Praveen Kumar Soni 80 Reputation points
    2024-06-26T17:26:59.4533333+00:00

    @Autumn Fox Use the XML like below and you are good to go. So the reason here is every app has a unique AppID for New Teams it is MSTeams_8wekyb3d8bbwe!MSTeams

    <?xml version="1.0" encoding="utf-8"?>
    <LayoutModificationTemplate
        xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
        xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
        xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"
        xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
        Version="1">
      <CustomTaskbarLayoutCollection PinListPlacement="Replace">
        <defaultlayout:TaskbarLayout>
          <taskbar:TaskbarPinList>
    		<taskbar:UWA AppUserModelID="MSTeams_8wekyb3d8bbwe!MSTeams" />
          </taskbar:TaskbarPinList>
        </defaultlayout:TaskbarLayout>
     </CustomTaskbarLayoutCollection>
    </LayoutModificationTemplate>
    
    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Crystal-MSFT 48,576 Reputation points Microsoft Vendor
    2024-02-16T05:19:42+00:00

    @Autumn Fox, Thanks for posting in Q&A. The Desktop Application Link Path for New Teams can be found by pinning the application to the Start menu on a reference or testing PC, opening Windows PowerShell, and running the Export-StartLayout cmdlet. The generated XML file will contain an entry corresponding to the app that was pinned, with a property labeled DesktopApplicationLinkPath. It is not necessary to copy the New Teams shortcut from Intune to the specified location.

    As for the issue with pinning the New Teams icon to the taskbar via Intune, it is recommended to check if the XML file is correctly formatted and if the Desktop Application Link Path for New Teams is correctly specified.

    https://video2.skills-academy.com/en-us/windows/iot/iot-enterprise/customize/layout-control#configure-windows-10-taskbar

    If there's any update, feel free to let us know.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.