Display MyApplications.microsoft.com in Sharepoint Online page

Keennon, Mike 126 Reputation points
2021-02-19T20:56:33.54+00:00

We would like to display the MyApplications.microsoft.com application launch tiles on a page within SharePoint. I tried using embed webpart with an iframe to the page https://myapplications.microsoft.com but get "an unexpected error has occurred" in the resulting page. Note: this was after using Site Settings / HTML Field Settings to allow myapplications.microsoft.com. However, that source page does get content from multiple domains. I'm wondering if the error is because other page components are blocked.

The goal is to provide users with a list of links to their assigned applications. The User Interface does not have to be identical to tiled UI from Myapplications. An alternative that was just a list using MSGraph /users/me/appRoleAssignments would be okay as long as it has the URL links to the apps.

Is there a way to achieve this? I'm thinking there should be an out of the box webpart for this functionality. Is it there and I'm just not finding it?

We could just provide the link to MyApplications but prefer to have it be part of the site homepage if possible.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,730 questions
{count} votes

Accepted answer
  1. Keennon, Mike 126 Reputation points
    2021-02-24T13:41:30.153+00:00

    In case anyone else has this requirement. I found a couple ways to achieve the objective.

    1. Since apps are always assigned to groups in our use case. Sharepoint Quicklinks webpart with audience targeting provides a way to produce the app list with links to the apps the user is assigned. Only problem is that it is double configuration (both AAD app definition and Sharepoint quicklink definition) and is brittle if the AAD app definition changes the app description or homepage/login URL.
    2. Create a custom web app with MSgraph to call MSGraph /users/<uid>/appRoleAssignments. Iterate through the resulting list of apps and call MSGraph /applications/<appid> to get the homepage and login URLs to create the link. Iterating with /applications API request can be slow so I cached the results for 24 hours. I then use the Embed webpart to place the links on the Sharepoint home page. It would be awesome if /users/appRoleAssignments could return the app homepage/login URL in a single request or document the relationship between appRole and application to enable $expand odata to get the application object for the appRoleAssignement.

    A couple ways that don't work:

    1. Could not get https://myapplications.microsoft.com to work with an Embed webpart.
    2. Could not find a webpart that provided the MyApps functionality
    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Elsie Lu_MSFT 9,771 Reputation points
    2021-02-22T08:36:27.627+00:00

    Hi @Keennon, Mike ,

    Thanks for posting in the Q&A forum. :)

    I did a test,if you want to use embed webpart, you need to specify specific files instead of lauch directly as shown:
    70581-2.jpg

    Per my understanding,if you want a list of links to their assigned applications, you can try to create a MyAppList, put all the apps and links you want in this list, and users can click on the link to jump.

    This may be a simpler solution you can consider to turn the links into a part of the page:
    70554-3.jpg


    If the answer is helpful, please click "Accept Answer" and upvote it.

    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.

    1 person found this answer helpful.