Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank output in Outlook with InvalidAudienceForResource #142

Open
pmariet opened this issue Feb 26, 2020 · 0 comments
Open

Blank output in Outlook with InvalidAudienceForResource #142

pmariet opened this issue Feb 26, 2020 · 0 comments

Comments

@pmariet
Copy link

pmariet commented Feb 26, 2020

Hi,
reinstalled MHA today. All is fine with OWA.
However, from Outlook 2019, the pages are all blank (below header)
From the diagnostic I understand that API used is blank and should be EWS.
Might be wrong.
Diagnostics:
User Agent = Mozilla/5.0 (Windows NT 10.0; Win64; x64; WebView/3.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363
Requirement set = 1.7
ui = new
Last Update = Thu, 06 Feb 2020 16:21:45 GMT
contentLanguage = fr-CH
displayLanguage = en-US
hostname = Outlook
hostVersion = 16.0.11929.20516
permissions = 3
origin = https://mha.azurewebsites.net
path = /pages/parentframe.html
API used = Not set
itemId = true
itemType = message
itemClass = IPM.Note
ERROR: textStatus: error
errorThrown:
State: rejected
jqXHR: {
"readyState": 4,
"responseText": "{"error":{"code":"InvalidAudienceForResource","message":"The audience claim value is invalid for current resource. Audience claim is 'https://mail.company.com', request url is 'https://outlook.office.com/api/v2.0/me/messages/AQMkADdmMGNiZWJjLWE0OGEtNGY4Yi04ZWZiLTE5ZDhmN2QyZjQyOQBGAAADy9fRrNKS7EGLGJHu4C505AcAy9fLJQEctEintKDxcUcbjQAAAjunAAAAJQb2R2kAMU2LAg97XwyXAwABz444gQAAAA==?$select=SingleValueExtendedProperties&$expand=SingleValueExtendedProperties($filter=PropertyId eq 'String 0x007D')' and resource type is 'Exchange'.","innerError":{"requestId":"6f1d1a4d-f7dd-475b-bf84-b0c2a70ffe80","date":"2020-02-26T13:50:12"}}}",
"responseJSON": {
"error": {
"code": "InvalidAudienceForResource",
"message": "The audience claim value is invalid for current resource. Audience claim is 'https://mail.company.com', request url is 'https://outlook.office.com/api/v2.0/me/messages/AQMkADdmMGNiZWJjLWE0OGEtNGY4Yi04ZWZiLTE5ZDhmN2QyZjQyOQBGAAADy9fRrNKS7EGLGJHu4C505AcAy9fLJQEctEintKDxcUcbjQAAAjunAAAAJQb2R2kAMU2LAg97XwyXAwABz444gQAAAA==?$select=SingleValueExtendedProperties&$expand=SingleValueExtendedProperties($filter=PropertyId eq 'String 0x007D')' and resource type is 'Exchange'.",
"innerError": {
"requestId": "6f1d1a4d-f7dd-475b-bf84-b0c2a70ffe80",
"date": "2020-02-26T13:50:12"
}
}
},
"status": 401,
"statusText": "error"
}
parse()@https://mha.azurewebsites.net/Scripts/22d4f0b6a/Errors.js:102:12
showError()@https://mha.azurewebsites.net/Scripts/22d4f0b6a/uiToggle.js:159:8
fail(function()@https://mha.azurewebsites.net/Scripts/22d4f0b6a/GetHeadersRest.js:142:20
c()@https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js:2:27732
f.fireWith()@https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js:2:28429
l()@https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js:2:77400
Anonymous function()@https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js:2:80944
Annotation 2020-02-26 150453

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant