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.