[unable to retrieve full-text content]
[Office365]Azure ADの認証でOffice365 APIsを呼ぶ時にエラー403が発生しています
Azure ADの認証機能を使って、Office365 APIsを呼ぶWebアプリケーションを作っています。 先週までに普通に動いていましたが、急に以下のエラー発生しています。
statuscode: 403, body: '{"error":{"code":"ErrorAccessDenied","message":"Access is denied. Check credentials and try again."}}
### Requestは以下のように作って、送信します。
var request = {
url: url,
method: method,
json: (method === constants.GET || method === constants.DELETE) ? null : resource,
headers: {
'Authorization': credentials.tokenType + ' ' + credentials.accessToken,
'User-Agent': clientId,
'Accept' : 'application/json'
}
修正方法ご存知の方が居れば、教えていただければ助かります。
[Office365]Azure ADの認証でOffice365 APIsを呼ぶ時にエラー403が発生しています
Aucun commentaire:
Enregistrer un commentaire