问题
I built an Outlook Add-in and it uses a token to download email attachments from the Exchange server. On my O365 developer account, it successfully retrieves the token. The Add-in has been deployed to the client's Outlook but when they try to retrieve the token, this is the response message:
MessageText:"The token for this extension could not be retrieved.
"ResponseClass:"Error"
ResponseCode:"ErrorInvalidClientAccessTokenRequest"
Token:null
__type:"GetClientAccessTokenResponseMessage:#Exchange"
The code is exactly the same and so is the request. Is there any clues I could look into to figure out what about their environment would cause this to fail?
回答1:
The ErrorInvalidClientAccessTokenRequest field is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
来源:https://stackoverflow.com/questions/38404323/exchange-errorinvalidclientaccesstokenrequest