Can't pin Microsoft Teams to Taskbar?

Mikkel Lund Knudsen 111 Reputation points
2022-07-04T18:12:34.13+00:00

Hey,

So Im trying to pin Microsoft Teams to my taskbar, however - it seems to fail.

Config file is listed here below :

<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>
<defaultlayout:TaskbarLayout>
<taskbar:TaskbarPinList>
<taskbar:DesktopApp DesktopApplicationID="Microsoft.CompanyPortal_8wekyb3d8bbwe!App"/>
<taskbar:DesktopApp DesktopApplicationID="Microsoft.Windows.Explorer"/>
<taskbar:DesktopApp DesktopApplicationID="Microsoft.Office.OUTLOOK.EXE.15"/>
<taskbar:DesktopApp DesktopApplicationID="com.squirrel.Teams.Teams"/>
<taskbar:DesktopApp DesktopApplicationID="MSEdge"/>
</taskbar:TaskbarPinList>
</defaultlayout:TaskbarLayout>
</CustomTaskbarLayoutCollection>
</LayoutModificationTemplate>

What/where am I missing out here?

Help much appreciated. :)

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,220 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,729 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Crystal-MSFT 43,381 Reputation points Microsoft Vendor
    2022-07-05T05:52:18.907+00:00

    @Mikkel Lund Knudsen Thanks for sharing your solution here. I am glad to hear that it is working now. To help others who have the same issue. Here, please let me write a brief summary for our issue:

    Issue description:

    =======================

    Can't pin Microsoft Teams (work or school) to Taskbar

    Resolution:

    =======================

    Try to use DesktopApplicationLinkPath instead of DesktopApplicationID.

    XML format:
    <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>
    <defaultlayout:TaskbarLayout>
    <taskbar:TaskbarPinList>
    <taskbar:DesktopApp DesktopApplicationID="Microsoft.CompanyPortal_8wekyb3d8bbwe!App"/>
    <taskbar:DesktopApp DesktopApplicationID="MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe!App"/>
    <taskbar:DesktopApp DesktopApplicationID="Microsoft.Windows.Explorer"/>
    <taskbar:DesktopApp DesktopApplicationID="Microsoft.Office.OUTLOOK.EXE.15"/>
    <taskbar:DesktopApp DesktopApplicationLinkPath="com.squirrel.Teams.Teams"/>
    <taskbar:DesktopApp DesktopApplicationID="MSEdge"/>
    </taskbar:TaskbarPinList>
    </defaultlayout:TaskbarLayout>
    </CustomTaskbarLayoutCollection>
    </LayoutModificationTemplate>

    Thanks for your time and have a nice day!


    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.

    2 people found this answer helpful.

  2. Dillon Silzer 54,646 Reputation points
    2022-07-04T19:08:07.777+00:00

    Have you tried using:

    <taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Teams.lnk" />


  3. Crystal-MSFT 43,381 Reputation points Microsoft Vendor
    2022-07-05T01:55:48.597+00:00

    @Mikkel Lund Knudsen , To find the right DesktopApplicationLinkPath, you can pin the teams app to the start menu on a PC and using Export-StartLayout to export the xml and then we can find the AppUserModelID or DesktopApplicationLinkPath in the xml. We can see more details in the following link:
    https://learn.microsoft.com/en-us/windows/configuration/configure-windows-10-taskbar#tips-for-finding-aumid-and-desktop-application-link-path

    Hope it can help.


    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.


  4. Mikkel Lund Knudsen 111 Reputation points
    2022-07-15T09:58:25.083+00:00

    Anyone else having issues with pin MS Teams to the Taskbar? (NOT Start :))

    0 comments No comments

  5. Alessandro Briancesco 0 Reputation points
    2024-04-02T16:28:27.25+00:00

    Found out how to do so. The new Microsoft Teams is no longer set in the start menu programs as it was previously. since it is now in AppUserModelID I did the following;

    Exported my LayoutModification.xml

    Noticed that in the Start Layout the line for teams reads <start:Tile Size="2x2" Column="4" Row="0" AppUserModelID="MSTeams_8wekyb3d8bbwe!MSTeams"/>

    So in the TaskBarPinList I simply added UWA before the AppUserModelID as shown below

    <taskbar:UWA AppUserModelID="MSTeams_8wekyb3d8bbwe!MSTeams"/>

    Now it is pinned for all users.

    I hope this does not create issues for me in the future but only time will tell. Below is an example of my xml. I have redacted my personal applications but I hope it is a good template for you to go off.

    <LayoutModificationTemplate xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification" xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout" Version="1">

    <LayoutOptions StartTileGroupCellWidth="6"/>

    <DefaultLayoutOverride>

    <StartLayoutCollection>

    <defaultlayout:StartLayout GroupCellWidth="6">

    <start:Group Name="Office and Utilities">

    <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Word.lnk"/>

    <start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Excel.lnk"/>

    <start:DesktopApplicationTile Size="2x2" Column="2" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Zoom\Zoom.lnk"/>

    <start:Tile Size="2x2" Column="4" Row="0" AppUserModelID="MSTeams_8wekyb3d8bbwe!MSTeams"/>

    <start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Outlook.lnk"/>

    <start:Tile Size="2x2" Column="4" Row="4" AppUserModelID="Microsoft.ScreenSketch_8wekyb3d8bbwe!App"/>

    <start:Tile Size="2x2" Column="0" Row="4" AppUserModelID="Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"/>

    </start:Group>

    <start:Group Name="Applications & Browsers">

    <start:DesktopApplicationTile Size="2x2" Column="4" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs________"/>

    <start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs_________"/>

    <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu___________"/>

    <start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs____________"/>

    </start:Group>

    </defaultlayout:StartLayout>

    </StartLayoutCollection>

    </DefaultLayoutOverride>

    <CustomTaskbarLayoutCollection PinListPlacement="Replace">

    defaultlayout:TaskbarLayout

    taskbar:TaskbarPinList

    <taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk"/>

    <taskbar:UWA AppUserModelID="MSTeams_8wekyb3d8bbwe!MSTeams"/>

    <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Outlook.lnk"/>

    <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk"/>

    </taskbar:TaskbarPinList>

    </defaultlayout:TaskbarLayout>

    </CustomTaskbarLayoutCollection>

    </LayoutModificationTemplate>

    0 comments No comments