cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Flow that sends mail via O365 is failing with an exception

I have two flows for the same SharePoint list. One sends me an email when a list item is created; the other sends the submitted an email when I update the same list item.

 

I'm seeing an error about my trigger on both flows. Looking at the details, I'm seeing this output when the flow tries to connect to the list (the first trigger):

 

Body:

{
  "error_description": "Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown."
}

Headers:

{
  "x-ms-diagnostics": "3000003;reason=\"Invalid audience Uri 'https://microsoft.sharepoint.com/'.\";category=\"invalid_client\"",
  "SPRequestGuid": "6c53a4a7-103a-4411-b059-461ae176fbc1",
  "request-id": "6c53a4a7-103a-4411-b059-461ae176fbc1",
  "MS-CV": "p6RTbDoQEUSwWUYa4Xb7wQ.0",
  "Strict-Transport-Security": "max-age=31536000",
  "X-FRAME-OPTIONS": "SAMEORIGIN",
  "SPRequestDuration": "13",
  "SPIisLatency": "2",
  "MicrosoftSharePointTeamServices": "16.0.0.19713",
  "X-Content-Type-Options": "nosniff",
  "X-MS-InvokeApp": "1; RequireReadOnly",
  "Timing-Allow-Origin": "*",
  "x-ms-apihub-cached-response": "true",
  "Date": "Wed, 22 Jan 2020 22:03:34 GMT",
  "P3P": "CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\"",
  "WWW-Authenticate": "Bearer realm=\"72f988bf-86f1-41af-91ab-2d7cd011db47\",client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000001-0000-0000-c000-000000000000@*,D3776938-3DBA-481F-A652-4BEDFCAB7CD8@*,https://sts.windows.net/*/,00000003-0000-0ff1-ce00-000000000000@90140122-8516-11e1-8eff-49304924019b\",authorization_uri=\"https://login.windows.net/common/oauth2/authorize\"",
  "X-Powered-By": "ASP.NET",
  "Content-Length": "130",
  "Content-Type": "application/json"
}

 

This seems to have to do with authentication, but I have no idea how to fix it.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Flow that sends mail via O365 is failing with an exception

 

Hi @Claire-MSFT ,

 

Please refer to these two similar threads and see if it helps:

Template-Flow-Fails-Error-Microsoft-IdentityModel-Tokens

error-descriptionexception-of-type-microsoft-identitymodel-tokens-audienceu

In addition, when configuring the Site Address, please try to enter the SharePoint Site URL manually by clicking Enter custom value:

  https://domain.sharepoint.com/sites/SiteName

Similarly, if you cannot get the List name directly from the drop-down list after manually configuring the Site Address, you can also enter the List Name manually.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Flow that sends mail via O365 is failing with an exception

 

Hi @Claire-MSFT ,

 

Please refer to these two similar threads and see if it helps:

Template-Flow-Fails-Error-Microsoft-IdentityModel-Tokens

error-descriptionexception-of-type-microsoft-identitymodel-tokens-audienceu

In addition, when configuring the Site Address, please try to enter the SharePoint Site URL manually by clicking Enter custom value:

  https://domain.sharepoint.com/sites/SiteName

Similarly, if you cannot get the List name directly from the drop-down list after manually configuring the Site Address, you can also enter the List Name manually.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Come join us today! Find your favorite faces from the community presenting at the Power Platform Community Conference!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Users online (3,535)