Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new method to get the Team Site for a Group #1446

Merged
merged 2 commits into from
Dec 4, 2020

Conversation

RamPrasadMeenavalli
Copy link
Contributor

Category

  • Bug fix?
  • New feature?
  • New sample?
  • Documentation update?

Related Issues

fixes #1444

What's in this Pull Request?

Added a new method to IGroup to get the Team Site of a Group.

Usage: graph.groups.getById("group-id").sites.root();

Graph API Reference is here

Unit tests and docs are updated.

@juliemturner juliemturner added this to the 2.0.13 milestone Nov 18, 2020
@patrick-rodgers patrick-rodgers merged commit f860c65 into pnp:version-2 Dec 4, 2020
@patrick-rodgers
Copy link
Member

Great work on this @RamPrasadMeenavalli ! We ended up moving some of the code around to create a sites submodule instead of including that code within the group. But the code was spot on as were the tests and docs. Appreciate you taking the time to help us improve - look forward to seeing what else you can come up with!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to Access a group team site
3 participants