Turn on parent and guardian access for OneNote Class Notebook (IT Admins)

If your school wants to turn on parent and guardian access for OneNote Class Notebooks, then Sharing with anonymous users should be turned on for SharePoint Online.

Note: The links generated for OneNote Class Notebooks are view only anonymous guest links.

SharePoint Online has both global (tenant-wide) and site collection settings for external sharing. The tenant-level settings override any settings at the site collection level. For setting up Sharing with anonymous users, both global and site collection settings has to be turned on. See Turn external sharing on or off for SharePoint Online.

Turn on external Sharing for Teams Sites

For O365 group sites (including Microsoft Teams), the sites are not listed in the SharePoint Admin Center, Site Management. Thus, the SharePoint Online Management Shell should be used to run Set-SPOSite.

It would be used to change the sharing status of the group site collection to allow sharing with all external users, and by using anonymous access links. See Set-SPOSite.

Example:

Set-SPOSite -Identity https://contososdorg.sharepoint.com/sites/Section_1657 -SharingCapability ExternalUserAndGuestSharing

Enable for Multiple Group sites

Use the graph group endpoint to fetch root web URLs of the group sites. It will enable scripting of setting the sharing status of these sites.

Get the group ids for all unified groups in the tenant

Request
 
GET https://graph.microsoft.com/v1.0/groups?$filter=groupTypes/any(a:a%20eq%20'unified')&$select=id
 
Response
 
Here is an example of the response.
 
{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups(id)",
    "@odata.nextLink": "https://graph.microsoft.com/v1.0/groups?$filter=groupTypes%2fany(a%3aa+eq+%27unified%27)&$select=id&$skiptoken=X%27445370740900010000000000000000100000000BC9B287A998E045942B80FDEC2E84CB000000000000000000000017312E322E3834302E3131333535362E312E342E3233333100000000000001D322A57707BDC34182874E60158E3E98%27",
    "value": [
        {
            "id": "439769ad-57cb-415c-8c4d-fe75030ce02f"
        },
        {
            "id": "602ac15e-695c-4095-9efc-8f5baa860e33"
        },
        {
            "id": "f4003ec6-929e-464e-9467-c14a5f650e72"
        }
}

Get the root site URL for all the unified groups from the previous step

Request
 
Here is an example of the request.
 
GET https://graph.microsoft.com/v1.0/groups/439769ad-57cb-415c-8c4d-fe75030ce02f/sites/root?$select=webUrl
 
Response
{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites(webUrl)/$entity",
    "webUrl": "https://contososdorg.sharepoint.com/sites/Section_1657"
}

Set the sharing capability to ExternalUserAndGuestSharing on all the sites from the previous step.

Set-SPOSite -Identity https://contososdorg.sharepoint.com/sites/Section_1657 -SharingCapability ExternalUserAndGuestSharing

Enable for a single team

  1. To enable Class Notebooks Parent/Guardian access, navigate to the desired team in Microsoft Teams.

  2. Get a link to the Files repository by selecting Files> Get link> SharePoint.

  3. Then Copy the URL listed.

    Click Files, then Get Link, then SharePoint, then Copy
  4. Extract the site URL from the link copied in step 3 (include everything until, but excluding, “Shared Documents”).

  5. Run the following PowerShell cmdlet:

    Set-SPOSite -Identity <SiteURL> -SharingCapability ExternalUserAndGuestSharing
Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×