question

James-8458 avatar image
0 Votes"
James-8458 asked James-8458 commented

Outlook addin on mobile using graph api

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.

office-addins-devmicrosoft-graph-mail
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @James-8458,
Not Outlook desktop client issue, so I removed the Outlook tag here. And if you want to know more information about Outlook for iOS, hope the dedicated forum for Outlook for iOS could be useful to you. Thanks for your understanding and support.

0 Votes 0 ·

I thought the outlook tags applies to all outlook issues. Thanks for the info.

0 Votes 0 ·

Hi @James-8458,
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.

0 Votes 0 ·
Show more comments

Which one you use Office.js (dialog api) or MSAL as part of the Outlook addin?

0 Votes 0 ·

Yes I do. The addin is fully functional in web version, the problem is on the flow.

0 Votes 0 ·

1 Answer

Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered James-8458 commented

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.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

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.

0 Votes 0 ·