Intune - Custom taskbar pinned icon for Company Portal app

Simon Magrin 26 Reputation points
2023-02-26T09:20:07.0066667+00:00

Hi,

I'm trying to build a custom taskbar pinned icon layout and stuck with getting the right XML syntax for the Company Portal app, e.g.:

          
Community Center | Not monitored
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Patchfox 4,176 Reputation points
    2023-02-26T15:06:22.6666667+00:00

    Hi, maybe I can help you with this probem.

    I search on my site for this apps application user model ID.

    I saw your ID of the Microsoft company portal is different than mine:

    Microsoft.CompanyPortal_8wekyb3d8bbwe!App

    I would try to change the ID in the next step.

    You will get all your app user model ids with this command:

    Get-StartApps | Where-Object -Property AppID -like '*CompanyPortal*'


    If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you

    0 comments No comments

  2. Crystal-MSFT 53,986 Reputation points Microsoft External Staff
    2023-02-27T01:49:35.1133333+00:00

    @Simon Magrin, Thanks for posting in Q&A.

    Based on my check, I find the AppUserModelID of company portal is the one as below:

    AppUserModelID="Microsoft.CompanyPortal_8wekyb3d8bbwe!App"

    User's image

    You can change the AppUserModelID in your xml to this one and see if it works.

    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.


  3. Simon Magrin 26 Reputation points
    2023-03-04T04:02:17.4233333+00:00

    Hi this worked for me now:

    <taskbar:UWA AppUserModelID="Microsoft.CompanyPortal_8wekyb3d8bbwe!App" />
    

    Many thanks for your help.


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.