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.
{count} votes
Which one you use Office.js (dialog api) or MSAL as part of the Outlook addin?
Yes I do. The addin is fully functional in web version, the problem is on the flow.
I thought the outlook tags applies to all outlook issues. Thanks for the info.
Hi @James ,
I noticed that you have posted two threads about the same issue. In order to avoid confusion, I merged these two threads into one for discussion here. Thanks for your understanding.
Just wanna get more attentions on the issues. I couldn't find any relevant information about it
Sign in to comment
1 answer
Sort by: Most helpful
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.
Hi,
Thanks for the sample. But that is not really my case here, I am not building an ios app. I am trying to build an addin, which can be used in the outlook mobile app.
Sign in to comment