cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Claire-MSFT
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
v-bacao-msft
Community Support
Community Support

 

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
v-bacao-msft
Community Support
Community Support

 

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (7,263)