SOLVED

Microsoft Teams - Cannot Create Connection in Logic App

%3CLINGO-SUB%20id%3D%22lingo-sub-1575229%22%20slang%3D%22en-US%22%3EMicrosoft%20Teams%20-%20Cannot%20Create%20Connection%20in%20Logic%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1575229%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20create%20a%20logic%20app%20that%20posts%20to%20my%20Team%20when%20a%20blob%20is%20uploaded%20to%20my%20Azure%20Blob%20Storage%20account.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20using%20the%20Post%20a%20message%20(v3)%20teams%20connector%20in%20Azure%2C%20but%20it%20can't%20log%20me%20in%20with%20my%20valid%20credentials.%20It%20says%20%60Please%20check%20your%20accoutn%20info%20and%2For%20permissions%20and%20try%20again.%60%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can't%20for%20the%20life%20of%20me%20find%20where%20the%20appropriate%20permissions%20might%20be%20in%20my%20teams%20account%2C%20though%20I%20rather%20suspect%20it%20won't%20to%20it%20with%20my%20Personal%20Microsoft%20account.%20Is%20this%20the%20reason%3F%20If%20so%2C%20how%20do%20I%20get%20this%20to%20work%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1575229%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELogic%20Apps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1584844%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20-%20Cannot%20Create%20Connection%20in%20Logic%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1584844%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F753578%22%20target%3D%22_blank%22%3E%40woodced%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20it's%20because%20you%20try%20to%20connect%20with%20a%20Microsoft%20Account.%20You%20should%20try%20to%20connect%20with%20an%20Azure%20AD%20account%20(your%20corporate%20account%20if%20you%20have%20one).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1951064%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20-%20Cannot%20Create%20Connection%20in%20Logic%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1951064%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13603%22%20target%3D%22_blank%22%3E%40Alexis%20CONIA%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20using%20teams%20without%20using%20Azure%20AD%20accounts.%26nbsp%3B%20Is%20there%20a%20way%20around%20this%20requirement%20(so%20that%20we%20can%20send%20messages%20to%20our%20teams%20even%20though%20they%20are%20not%20corporate%20accounts)%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1951621%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20-%20Cannot%20Create%20Connection%20in%20Logic%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1951621%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F889259%22%20target%3D%22_blank%22%3E%40PatSul%3C%2FA%3E%26nbsp%3BThe%20simplest%20way%20is%20probably%20to%20use%20the%20action%20%22Post%20a%20message%20as%20the%20Flow%20bot%20to%20a%20channel%22%20in%20Preview.%20You%20don't%20have%20a%20message%20posted%20on%20behalf%20of%20a%20user%20but%20you%20can%20define%20the%20content.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20also%20use%20a%20connector%20in%20Teams%20but%20it's%20more%20complicated%20to%20manage%20and%20integrate%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fwebhooks-and-connectors%2Fhow-to%2Fconnectors-using%3FWT.mc_id%3DM365-MVP-4039677%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESending%20messages%20to%20Connectors%20and%20Webhooks%20-%20Teams%20%7C%20Microsoft%20Docs%3C%2FA%3E).%20Once%2C%20the%20connector%20webhook%20URL%20is%20created%2C%20you%20can%20use%20HTTP%20action%20on%20logic%20apps%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1952424%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20-%20Cannot%20Create%20Connection%20in%20Logic%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1952424%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13603%22%20target%3D%22_blank%22%3E%40Alexis%20CONIA%3C%2FA%3E%26nbsp%3BThank%20you!%26nbsp%3B%20I%20will%20give%20those%20a%20try%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi, 

 

I'm trying to create a logic app that posts to my Team when a blob is uploaded to my Azure Blob Storage account. 

 

I'm using the Post a message (v3) teams connector in Azure, but it can't log me in with my valid credentials. It says `Please check your accoutn info and/or permissions and try again.`

 

I can't for the life of me find where the appropriate permissions might be in my teams account, though I rather suspect it won't to it with my Personal Microsoft account. Is this the reason? If so, how do I get this to work?

 

4 Replies
Best Response confirmed by ThereseSolimeno (Microsoft)
Solution

Hi @woodced ,

 

Yes, it's because you try to connect with a Microsoft Account. You should try to connect with an Azure AD account (your corporate account if you have one).

Hi @Alexis CONIA,

 

We are using teams without using Azure AD accounts.  Is there a way around this requirement (so that we can send messages to our teams even though they are not corporate accounts)?

@PatSul The simplest way is probably to use the action "Post a message as the Flow bot to a channel" in Preview. You don't have a message posted on behalf of a user but you can define the content. 

You can also use a connector in Teams but it's more complicated to manage and integrate (Sending messages to Connectors and Webhooks - Teams | Microsoft Docs). Once, the connector webhook URL is created, you can use HTTP action on logic apps

@Alexis CONIA Thank you!  I will give those a try