Flow won't send me an email

%3CLINGO-SUB%20id%3D%22lingo-sub-24758%22%20slang%3D%22en-US%22%3EFlow%20won't%20send%20me%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24758%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20create%20my%20first%20flow%20and%20so%26nbsp%3BI%20thought%20that%20I%20would%20start%20with%20something%20simple!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20send%20myself%20an%20email%20when%20a%20new%20file%20is%20added%20to%20a%20document%20library.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20receiving%20an%20error%20at%20the%20send%20email%20stage.%20Looking%20at%20the%20error%20message%20I%20can%20see%20that%20in%20the%20Body%20section%20there%20are%20these%20lines%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22status%22%3A%20401%2C%3C%2FP%3E%3CP%3E%22message%22%3A%20%22Unauthorized%22%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20tell%20me%20what%20I%20have%20done%20wrong%3F%20or%20what%20else%20I%20need%20to%20turn%20on%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tried%20to%20do%20this%20twice%20-%20once%20from%20a%20template%20email%20and%20once%20from%20a%20blank%20one%20-%20both%20times%20it%20fails%20in%20the%20same%20way.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EPaul%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPS%20-%20does%20anyone%20know%20if%20I%20should%20I%20be%20able%20to%20create%20a%20Premier%20Support%20ticket%20for%20Flow%3F%20I%20can't%20find%20it%20in%20the%20list%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-24758%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-25024%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20won't%20send%20me%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-25024%22%20slang%3D%22en-US%22%3E%3CP%3EDean%2C%20we%20also%20use%20a%20proxy%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyway%20I've%20now%20created%20a%20premier%20support%20ticket%20about%20the%20pros%20and%20cons%20of%20turning%20on%20user%20consent%20for%20applications%2C%20naturally%20our%20security%20guys%20won't%20just%20let%20us%20do%20it.%20We%20need%20to%20know%20what%20turning%20it%20on%20actually%20means%2C%20what%20risks%20does%20it%20set%20up%20us%20for%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3EPaul%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24817%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20won't%20send%20me%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24817%22%20slang%3D%22en-US%22%3E%3CP%3EMy%20client%20has%20a%20Bluecoat%20Proxy%20server%20that%20is%20causing%20us%20some%20issues.%26nbsp%3B%20This%20scenario%20is%20not%20something%20that%20is%20addressed%20in%20the%20documentation.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24802%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20won't%20send%20me%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24802%22%20slang%3D%22en-US%22%3E%3CP%3EDean%20%2F%20Ian%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20found%20out%20what%20my%20problem%20is%20-%20our%20users%20are%20not%20able%20to%20grant%20consent%20to%20the%20application.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fexchangedev%2F2014%2F06%2F05%2Fmanaging-user-consent-for-applications-using-office-365-apis%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.msdn.microsoft.com%2Fexchangedev%2F2014%2F06%2F05%2Fmanaging-user-consent-for-applications-using-office-365-apis%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20the%20same%20thing%20with%20a%20admin%20enabled%20account%20and%20it%20worked%20fine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20now%20talking%20to%20someone%20else%20in%20my%20team%20and%20trying%20to%20find%20out%20why%20this%20is%20switched%20off.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20was%20confusing%20though%20because%20in%20the%20Flow%20screens%20it%20shows%20all%20of%20my%20connections%20with%20'green%20ticks'.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3CBR%20%2F%3EPaul%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24787%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20won't%20send%20me%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24787%22%20slang%3D%22en-US%22%3E%3CP%3EPaul%20does%20the%20Flow%20show%20success%20when%20logged%20onto%20your%20email%20acount%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24785%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20won't%20send%20me%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24785%22%20slang%3D%22en-US%22%3E%3CP%3EDean%2C%20thanks%20again.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENo%20matter%20what%20I%20do%20I%20can't%20sign%20in%20to%20that%20other%20site%20-%20it%20keeps%20sending%20me%20around%20in%20circles%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20pretty%20sure%20I've%20got%20all%20the%20right%20licences%2C%20maybe%20my%20flow%20permissions%20need%20refreshing%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyway%20I'll%20battle%20on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EPaul%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24774%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20won't%20send%20me%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24774%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20are%20a%20lot%20of%20moving%20parts%20and%20since%20this%20is%20still%20in%20Preview%20mode%2C%20some%20of%20the%20instructions%20seem%20to%20be%20incomplete.%20In%20my%20recent%20testing%2C%20i%20learned%20that%20my%20testers%20needed%20to%20be%20in%20the%20First%20Release%20program%20so%20that%20they%20could%20see%20Flow%20and%20PowerApps%20on%20the%20Command%20Bar%20in%20a%20new%20modern%20style%20list.%3C%2FP%3E%3CP%3EThere%20is%20also%20a%20Power%20Apps%20and%20Flow%20License%2C%20that%20may%20need%20to%20be%20assigned%2C%20but%20I%20have%20not%20been%20able%20to%20confirm%20this.%3C%2FP%3E%3CP%3EFor%20reasons%20that%20only%20MS%20can%20understand%2C%20there%20is%20another%20Community%20at%20%3CA%20href%3D%22https%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FMicrosoft-Flow-Community%2Fct-p%2FFlowCommunity%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FMicrosoft-Flow-Community%2Fct-p%2FFlowCommunity%3C%2FA%3E%20which%20has%20a%20lot%20more%20activity%20than%20this%20space%2C%20i%20would%20recommend%20asking%20your%20question%20there%20and%20you%20should%20get%20some%20more%20responses.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24764%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20won't%20send%20me%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24764%22%20slang%3D%22en-US%22%3E%3CP%3EI%20also%20should%20have%20added%20that%20we%20are%20Office%20365%20customers%20using%20ADFS%20in%20a%20hybrid%20configuration%20-%20if%20that%20makes%20any%20difference.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EPaul%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24762%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20won't%20send%20me%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24762%22%20slang%3D%22en-US%22%3E%3CP%3EDean%2C%20thanks%20for%20the%20reply%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26gt%3B%26gt%3BHave%20you%20registered%20your%20account%20in%20the%20Flow%20site%3F%3C%2FP%3E%3CP%3E%26nbsp%3B-%20I'm%20not%20sure%20what%20you%20mean%20-%20sorry%20for%20being%20a%20pain.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20logged%20into%20Flow%20with%20my%20account.%3C%2FP%3E%3CP%3EI%20have%20permissions%20to%20the%20Site%20Collection.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'll%20have%20a%20look%20around%20but%20if%20you%20can%20be%20a%20bit%20more%20explicit%20that%20would%20be%20a%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EPaul%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24760%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20won't%20send%20me%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24760%22%20slang%3D%22en-US%22%3EI%20don't%20think%20that%20you%20can%20create%20Premier%20support%20tickets%20yet%20because%20it%20is%20still%20in%20preview.%20However%2C%20you%20can%20create%20a%20ticket%20from%20the%20O365%20Admin%20Center.%3CBR%20%2F%3E%3CBR%20%2F%3EHave%20you%20registered%20your%20account%20in%20the%20Flow%20site%3F%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I am trying to create my first flow and so I thought that I would start with something simple!

 

I am trying to send myself an email when a new file is added to a document library.

 

I am receiving an error at the send email stage. Looking at the error message I can see that in the Body section there are these lines:

 

"status": 401,

"message": "Unauthorized",

 

Can anyone tell me what I have done wrong? or what else I need to turn on?

 

I have tried to do this twice - once from a template email and once from a blank one - both times it fails in the same way.

 

Thanks,

Paul

 

PS - does anyone know if I should I be able to create a Premier Support ticket for Flow? I can't find it in the list

9 Replies
Highlighted
I don't think that you can create Premier support tickets yet because it is still in preview. However, you can create a ticket from the O365 Admin Center.

Have you registered your account in the Flow site?
Highlighted

Dean, thanks for the reply,

 

>>Have you registered your account in the Flow site?

 - I'm not sure what you mean - sorry for being a pain.

 

I am logged into Flow with my account.

I have permissions to the Site Collection.

 

I'll have a look around but if you can be a bit more explicit that would be a help.

 

Thanks,

Paul

Highlighted

I also should have added that we are Office 365 customers using ADFS in a hybrid configuration - if that makes any difference.

 

Thanks,

Paul

Highlighted

There are a lot of moving parts and since this is still in Preview mode, some of the instructions seem to be incomplete. In my recent testing, i learned that my testers needed to be in the First Release program so that they could see Flow and PowerApps on the Command Bar in a new modern style list.

There is also a Power Apps and Flow License, that may need to be assigned, but I have not been able to confirm this.

For reasons that only MS can understand, there is another Community at https://powerusers.microsoft.com/t5/Microsoft-Flow-Community/ct-p/FlowCommunity which has a lot more activity than this space, i would recommend asking your question there and you should get some more responses.

Highlighted

Dean, thanks again.

 

No matter what I do I can't sign in to that other site - it keeps sending me around in circles :(

 

I'm pretty sure I've got all the right licences, maybe my flow permissions need refreshing?

 

Anyway I'll battle on.

 

Thanks,

Paul

Highlighted

Paul does the Flow show success when logged onto your email acount ?

Highlighted

Dean / Ian,

 

I have found out what my problem is - our users are not able to grant consent to the application.

 

https://blogs.msdn.microsoft.com/exchangedev/2014/06/05/managing-user-consent-for-applications-using...

 

I tried the same thing with a admin enabled account and it worked fine.

 

I'm now talking to someone else in my team and trying to find out why this is switched off.

 

It was confusing though because in the Flow screens it shows all of my connections with 'green ticks'.

 

Thanks,
Paul

Highlighted

My client has a Bluecoat Proxy server that is causing us some issues.  This scenario is not something that is addressed in the documentation.

Highlighted

Dean, we also use a proxy server.

 

Anyway I've now created a premier support ticket about the pros and cons of turning on user consent for applications, naturally our security guys won't just let us do it. We need to know what turning it on actually means, what risks does it set up us for etc.

 

Cheers,

Paul