Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

OneDrive for Business throttled all api request authorized from a specific Azure Native App

$
0
0

Hi , 

I was testing api for OneDrive for Business , and have experienced a scenario that OneDrive for Business appears to be blocking all API calls from a specific Azure Native Application. Here is my case : 

1. I have an existing Azure Native App that has all rights required for OneDrive4Biz api

2. I used Postman to get my-sharepoint token with the native app and make call to OneDrive :  https://xxxxxxx-my.sharepoint.com/_api/v2.0/me/drive/root/children

3. It always returns "429: The request has been throttled, all other api return 429 too ( /me/drive  ,  /sites ... etc )

4. Then I created a new Azure Native App and repeated step 2 , "200" was successfully returned.

Some other info :

- There were no active activities using the OneDrive api on that account , and 429 is returned at any time with that Native Application

- We have another office365 domain that uses the affected native application , and it does not return 429

Switching to another Native App to make api call seems to solve the issue , but I would like to know the reason that a domain could block api call from a specific Native App and anything I could do to unblock the app.  Application Id and login name can be provided if required , thank you.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>