Outlook addin on mobile using graph api

James 21 Reputation points

Hi there,

I am developing an outlook addin which is using graph api. With msal, i can get the token with pop up flow in outlook web.

However when i deploy it to mobile, e.g. ios outlook app, the pop up window won't show and there is no way for me to get the token for graph api. I have tried to use redirect flow as well, but then the page is opened in an external browser and cannot return to the app.

Is there a solution to this situation or what is the recommended way of doing this?

Thanks in advance.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,772 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,558 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee

    If you're using MSAL to build ios based application then i would suggest you to test the following sample and see still if you can repro the issue or not.
    This will help you to isolate the issue.

    This sample will help you to you build an iOS or macOS app that integrates with the Microsoft identity platform to sign users and get an access token to call the Microsoft Graph API.