"Can't access the group calendar" in Sharepoint

Dantuma, Lucien 96 Reputation points
2021-10-19T22:04:33.137+00:00

I had a communication hubsite with a group calendar webpart linking to a M365 group. And with a Forms webpart.
I unregistered the site as a hub, I switched my rootsite for the communicationsite and registered the new rootsite again as a hub.

Everything works perfectly except for the group calendar webpart and the Forms webpart.

I get the errors as shown in the image

141876-2021-10-19-23-56-05.jpg

I deleted both webparts, published the site again and created the webparts again.
When I edit the Group calendar webpart I get the error: "Couldn't get a list of groups."
When I edit the Forms webpart everything seems fine, until I hit Save and I still don't see the webpart after publishing.

The funny thing is that a visitor of the root site doesn't see the group calendar webpart, but sees the Forms webpart and is able to fill in the form successfully.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,621 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dantuma, Lucien 96 Reputation points
    2021-10-20T11:40:20.447+00:00

    It solved itself! It seems that Sharepoint needed several hours to reset things after the root site swap.

    @CaseyYang-MSFT Thank for your time, but as I wrote I had access to the calendar and the Form before the root site swap and after I lost it. So it had nothing to do with membership.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,321 Reputation points
    2021-10-20T08:12:57.603+00:00

    Hi @Dantuma, Lucien ,

    The group calendar is created for Office 365 group’s members to share schedules. So first please confirm whether you are the member of the Office 365 groups. If no, you may let the group member add you as members and then add the group calendar on the modern site page to see the result.

    For Reference: Team Site Group Calendar Widget/App


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments