Error while creating a new OneNote tab in Microsoft Teams

While creating notebooks using Microsoft Teams you might get the following error


             "Sorry you don't have access to access the requested resource"


In the Fiddler trace you would see the following error


HTTP/1.1 404 Not Found

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1



"error": {

"code": "30105",

"message": "OneDrive for Business is not provisioned for this user.",

"@api.url": ""




This is caused due to IP address restrictions or setting location based policies.



Affected customers can refer ( for configuring these ranges but this requires active management, since the list is updated frequently.


But that would most probably not resolve the issue as according to ( - Control access to SharePoint Online and OneDrive data based on defined network locations - SharePoint, the only apps that currently support location-based policies are Yammer and Exchange. This means that all other apps are blocked, even when these apps are hosted within the trusted network boundary. This is because SharePoint cannot determine whether a user of these apps is within the trusted boundary. So, until SharePoint Online can support location-based policies for services such as you can’t accomplish this using IP restrictions.


The resolution currently is to remove location-based policies if users want the OneNote tab to work.


Comments (0)

Skip to main content