Skip to content

[BUG] New-PnPTeamsTeam EDU_Class corrupt class-notebook #4968

Open
@4ndri

Description

@4ndri

Reporting an Issue or Missing Feature

creating a edu_class team with New-PnPTeamsTeam results in having a corrupt class-notebook. The class-notebook can not be initialized.

Expected behavior

Class-Team will be created and the class-notebook should be initialized without problems.

Actual behavior

Class-Team is created, but when creating the class-notebook "something" goes wrong.

Steps to reproduce behavior

  • create a team with New-PnPTeamsTeam
New-PnPTeamsTeam -DisplayName "pnp-test01" -MailNickname "pnp-test01" -Owners "3c7c822e-d8a3-4237-9f3c-e18a9d1cb4ab" -Template EDU_Class
  • open Microsoft Teams and create the class-notebook
    Image

in browser dev-tools i see this request to classnotebooks endpoint:

XHRGET
https://www.onenote.com/api/v1.0/myOrganization/groups/334cbc05-914f-47d2-985a-c04b97b75276/notes/classnotebooks/getWopiProperties(frameAction='View')
[HTTP/2 404  1332ms]
{
  "error": {
    "@api.url": "https://aka.ms/onenote-errors#C20350",
    "code": "20350",
    "displayDiagnosticInformation": true,
    "isRetriable": false,
    "message": "Cannot determine notebook type, please try again after some time."
  }
}

What is the version of the Cmdlet module you are running?

3.1.63

Which operating system/environment are you running PnP PowerShell on?

  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions