cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (32,729)