Home

Error launching Teams from "Reply in Teams" button in Outlook message on Android

%3CLINGO-SUB%20id%3D%22lingo-sub-354053%22%20slang%3D%22en-US%22%3EError%20launching%20Teams%20from%20%22Reply%20in%20Teams%22%20button%20in%20Outlook%20message%20on%20Android%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-354053%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20Outlook%20and%20Teams%20(and%20other%20mobile%20apps)%20deployed%20using%20MAM.%20A%20user%20gets%20an%20e-mail%20message%20in%20Outlook%20that%20says%20%22Your%20teammates%20are%20trying%20to%20reach%20you%20in%20Microsoft%20Teams.%22%20The%20message%20includes%20a%20%22Reply%20in%20Teams%22%20button.%20If%20the%20user%20clicks%20the%20button%2C%20a%20browser%20window%20opens%20briefly.%20Then%20Teams%20opens%20but%20displays%20an%20error%3A%20%22This%20action%20is%20not%20allowed%20by%20your%20organization.%22%20%5BGO%20BACK%5D.%20The%20user%20is%20able%20to%20get%20to%20the%20message%20in%20Teams%2C%20but%20only%20by%20navigating%20to%20it%20rather%20than%20being%20led%20to%20it%20through%20the%20Outlook%20link.%20Is%20this%20happening%20as%20a%20result%20of%20a%20policy%20I%20have%20applied%2C%20or%20is%20this%20a%20known%20issue%20affecting%20all%20environments%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-354053%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMobile%20Application%20Management%20(MAM)%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-356899%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20launching%20Teams%20from%20%22Reply%20in%20Teams%22%20button%20in%20Outlook%20message%20on%20Android%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-356899%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20for%20each%20of%20your%20app%20protection%20policies%20you%20can%20set%26nbsp%3B%3CSTRONG%3EShare%20web%20content%20with%20policy%20managed%20browsers%3C%2FSTRONG%3E%20to%20%3CSTRONG%3ERequired%3C%2FSTRONG%3E%20in%20the%20Data%20protection%20section.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-356563%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20launching%20Teams%20from%20%22Reply%20in%20Teams%22%20button%20in%20Outlook%20message%20on%20Android%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-356563%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%2C%20that%20change%20in%20policy%20did%20the%20trick%20(at%20least%20on%20my%20own%20phone).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20you%20aware%20of%20a%20way%20to%20tell%20Android%20and%20iOS%20devices%20to%20use%20a%20managed%20browser%20for%20links%20contained%20in%20managed%20apps%20while%20leaving%20the%20default%20app%20for%20web%20links%20up%20to%20the%20device%20owner%20for%20non-managed%20apps%3F%20In%20my%20initial%20testing%20when%20I%20installed%20Edge%20I%20didn't%20see%20a%20way%20to%20do%20this%2C%20and%20I%20don't%20want%20to%20saddle%20my%20users%20with%20a%20managed%20browser%20for%20everything%20on%20their%20personal%20devices.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-355429%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20launching%20Teams%20from%20%22Reply%20in%20Teams%22%20button%20in%20Outlook%20message%20on%20Android%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-355429%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20quickest%20option%20would%20definitely%20be%20to%26nbsp%3B%3CSPAN%3Eset%20%3CSTRONG%3EReceive%20data%20from%20other%20apps%3C%2FSTRONG%3E%20to%20%3CSTRONG%3EAll%20apps%3C%2FSTRONG%3E.%20Otherwise%2C%20you'd%20need%20to%20publish%20an%20app%20protection%20policy%20for%20Intune%20Managed%20Browser%20or%20Edge%20and%20ensure%20the%20client%20has%20the%20app%20installed%20to%20act%20as%20a%20%22middle-man%22%20between%20policy-managed%20apps.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-355049%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20launching%20Teams%20from%20%22Reply%20in%20Teams%22%20button%20in%20Outlook%20message%20on%20Android%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-355049%22%20slang%3D%22en-US%22%3E%3CP%3EOK%2C%20so%20....%20Both%20Outlook%20and%20Teams%20are%20selected%20under%20Intune%20App%20Protection%20-%20Targeted%20apps.%20Under%20Properties%20%26gt%3B%20Data%20Protection%2C%20I%20have%20both%20%22Send%20Org%20data%20to%20other%20apps%22%20and%20%22Receive%20data%20from%20other%20apps%22%20set%20to%20%22Policy%20managed%20apps%22%20and%20I%20have%20no%20apps%20selected%20to%20exempt.%20I%20do%20not%20have%20a%20browser%20set%20as%20a%20targeted%20app%2C%20and%20I%20notice%20that%20a%20browser%20window%20opens%20briefly%20before%20Teams%20opens.%20Is%20that%20the%20problem%20--%20that%20Teams%20is%20not%20allowed%20to%20receive%20data%20from%20an%20unmanaged%20browser%3F%20I%20tried%20including%20a%20browser%20in%20my%20targeted%20apps%20list%2C%20but%20I%20couldn't%20figure%20out%20how%20to%20get%20a%20mobile%20device%20to%20use%20the%20native%20browser%20sometimes%20and%20a%20managed%20browser%20only%20in%20connection%20with%20managed%20apps%20...%20and%20nobody%20wants%20to%20be%20forced%20to%20use%20the%20managed%20browser%20all%20the%20time%20on%20their%20personal%20devices.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EShould%20I%20set%20%22Receive%20data%20from%20other%20apps%22%20to%20%22All%20apps%3F%22%20I'm%20more%20worried%20about%20data%20leakage%20FROM%20managed%20apps%20than%20having%20outside%20data%20come%20TO%20managed%20apps%2C%20so%20this%20seems%20like%20a%20reasonable%20step.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-354870%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20launching%20Teams%20from%20%22Reply%20in%20Teams%22%20button%20in%20Outlook%20message%20on%20Android%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-354870%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20most%20likely%20caused%20by%20a%20policy%20you've%20set%20that%20restricts%20managed%20data%20being%20accessed%20by%20unmanaged%20apps%20(check%20Config%20Policy%20and%20App%20Protection%20Policy).%20To%20resolve%20the%20problem%2C%20ensure%20that%20Teams%20has%20an%20app%20protection%20policy%20applied%20to%20it%20and%20that%20it%20is%20recognized%20as%20a%20policy-managed%20app.%20The%20alternative%20is%20to%20loosen%20the%20security%20of%20the%20policies%20to%20allow%20managed%20data%20to%20be%20opened%20in%20unmanaged%20apps.%3C%2FP%3E%3C%2FLINGO-BODY%3E
David Schrag
Occasional Contributor

We have Outlook and Teams (and other mobile apps) deployed using MAM. A user gets an e-mail message in Outlook that says "Your teammates are trying to reach you in Microsoft Teams." The message includes a "Reply in Teams" button. If the user clicks the button, a browser window opens briefly. Then Teams opens but displays an error: "This action is not allowed by your organization." [GO BACK]. The user is able to get to the message in Teams, but only by navigating to it rather than being led to it through the Outlook link. Is this happening as a result of a policy I have applied, or is this a known issue affecting all environments?

5 Replies

This is most likely caused by a policy you've set that restricts managed data being accessed by unmanaged apps (check Config Policy and App Protection Policy). To resolve the problem, ensure that Teams has an app protection policy applied to it and that it is recognized as a policy-managed app. The alternative is to loosen the security of the policies to allow managed data to be opened in unmanaged apps.

OK, so .... Both Outlook and Teams are selected under Intune App Protection - Targeted apps. Under Properties > Data Protection, I have both "Send Org data to other apps" and "Receive data from other apps" set to "Policy managed apps" and I have no apps selected to exempt. I do not have a browser set as a targeted app, and I notice that a browser window opens briefly before Teams opens. Is that the problem -- that Teams is not allowed to receive data from an unmanaged browser? I tried including a browser in my targeted apps list, but I couldn't figure out how to get a mobile device to use the native browser sometimes and a managed browser only in connection with managed apps ... and nobody wants to be forced to use the managed browser all the time on their personal devices.

 

Should I set "Receive data from other apps" to "All apps?" I'm more worried about data leakage FROM managed apps than having outside data come TO managed apps, so this seems like a reasonable step.

The quickest option would definitely be to set Receive data from other apps to All apps. Otherwise, you'd need to publish an app protection policy for Intune Managed Browser or Edge and ensure the client has the app installed to act as a "middle-man" between policy-managed apps.

Thanks, that change in policy did the trick (at least on my own phone).

 

Are you aware of a way to tell Android and iOS devices to use a managed browser for links contained in managed apps while leaving the default app for web links up to the device owner for non-managed apps? In my initial testing when I installed Edge I didn't see a way to do this, and I don't want to saddle my users with a managed browser for everything on their personal devices.

Yes, for each of your app protection policies you can set Share web content with policy managed browsers to Required in the Data protection section.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
36 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies