8 votes
Accepted

Assigning "Contribute" permission instead of "Edit" to the SharePoint Modern Team site's Site members

The blog you linked to has the correct answer. It's not optimal, but it works. One source of confusion is that after creating a team site, there are two groups with the same name. For example, if you ...
  • 7,940
5 votes
Accepted

Domain Groups and EnsureUser

You need to call EnsureUser with the login name in the format c:0o.c|federateddirectoryclaimprovider|groupId where groupId is the id of the group in Azure AD i.e. a guid. e.g. c:0o.c|...
5 votes

Office 365 groups vs Yammer vs Teams

The question is really a Yammer group vs an Office group. And for all intents and purposes, an Office group is superior to a Yammer group. You have more functionality (Yammer or outlook for ...
4 votes

How to create "Office 365 Group" using csom/pnp core ( or create accessToken)

You first need to create and register an Azure AD app in the Azure portal. That app needs the delegated Group.ReadWrite.All permission from Microsoft Graph API. Then you need to get the client ID ...
  • 30.5k
4 votes

Office 365 groups vs Yammer vs Teams

For our company, the factors that we took into account to choose between Yammer and Teams, are as follow, Sharing Files. We have a hard time in sharing files in Yammer but Teams is integrated with ...
  • 41
4 votes
Accepted

Which is the valid email address for our sharepoint team site's group; the one which have "onmicrosoft" in it or the one which does not have it

Both addresses are valid; every object gets a @.onmicrosoft.com address.
  • 28.9k
4 votes

Assigning "Contribute" permission instead of "Edit" to the SharePoint Modern Team site's Site members

When you create a modern team site, it automatically creates an office 365 group (azure ad group) that contains all members and adds to site members sharepoint group. When you add user/invite user ...
  • 4,425
4 votes
Accepted

Can an Office 365 Group be connected to more than one site collection simultaneously?

An "Office 365 Group" is a (special) Active Directory group plus a Site Collection. This AD group can be used as an ordinary AD group when granting access to other sites. When used this way, they are ...
4 votes
Accepted

Disallow Classic Team Sites to Join Office 365 Groups

To actually disable this, go to the classic settings page: https://contoso-admin.sharepoint.com/_layouts/15/online/TenantSettings.aspx About in the middle you will find this one: Control whether ...
  • 2,229
3 votes

Remove office365 Group connection from Site Collection

In case anyone is interested. Now it's possible to do this using below PowerShell CMDLET. https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/remove-spositegroup?view=sharepoint-ps ...
  • 41
3 votes
Accepted

How we can view all the Office 365 groups' sites that have been created inside our sharepoint online tenant

At the top of the Site Collection page in the admin center there may be a link for "Try the preview". This will also list the Groups sites. (You may not have access to it yet.) https://yourDomain-...
3 votes
Accepted

How to lookup AD users with pnp-powershell in SharePoint Online?

Here is what I ended up needing to do if someone else needed something like this Import-Module ActiveDirectory #will required to be downloaded/installed $Url = 'https://SharePoint/Site/Path' $...
  • 207
3 votes

How to lookup AD users with pnp-powershell in SharePoint Online?

There is no PnP native way to do this but you can do it by dropping down into the CSOM EnsureUser method. Try this: $web = get-pnpweb $user = $web.EnsureUser("user@company.com") $ctx = Get-PnPContext ...
  • 7,808
3 votes
Accepted

Unable to remove Office 365 Group Site Collection

The solution for the 403 error was to unlock the site collection. Set-SPOSite -Identity <URL> -LockState unlock After that the site collection could be removed with Remove-SPOSite
3 votes

Where can I view a list of Team Sites which have been created in Office 365?

Just page through the results on /_layouts/15/online/SiteCollections.aspx in your admin center. If you don't see a paging link, then you have less than 30 site collections and if there are none with ...
3 votes

Remove office365 Group connection from Site Collection

What has been shared by f1365 is not true as of 2019-10-23 You run Remove-SPOSiteGroup cmdlet to remove SharePoint Online group. As of 2019-10-23 you cannot complete the following actions: ...
3 votes

Disallow Classic Team Sites to Join Office 365 Groups

There is a hidden GroupifyMenuButton feature that is responsible for hiding and showing the "Connect to new Office 365 Group" button. This action button redirects to the following URL when we click ...
2 votes
Accepted

Get a list of all site collections including Office 365 Groups

PowerShell based solution: Download SharePoint Online Management Shell https://www.microsoft.com/en-us/download/details.aspx?id=35588 Run the commands below to get a list of all site ...
  • 1,765
2 votes

Get a list of all Office 365 Groups with creation date

First I'll answer your question, and then I'll teach you how to find these properties for your self. Just add the LastContentModifiedDate to your list of properties Get-sposite -Limit All | Where {$...
  • 7,808
2 votes

Unable to remove Office 365 Group Site Collection

In the Office 365 admin center, when you delete a SharePoint Online site collection, it is moved to the SharePoint Site Collection Recycle Bin where it will remain and can be restored for the next 30 ...
2 votes

Disabling Site Creation from end users, will still allow them to create sharepoint sites through creating new Office 365 groups

First of all, the setting only hides the command and does not disable the option to create sites for users. It says so in the setting in your screenshot. And yes, whenever a group is created in ...
  • 1,615
2 votes
Accepted

Connect Classic SPO subsite to O365 Group

Only top level sites can be connected to O365 groups, not subsites. You'd have to promote your subsites to separate site collections, and then run the "connect to new O365 group" command for each one. ...
  • 7,940
2 votes

Assigning "Contribute" permission instead of "Edit" to the SharePoint Modern Team site's Site members

The permission level of the groups can be changed using the PnP PowerShell module: Connect-PnpOnline https://tenant.sharepoint.com/teams/myteam Set-PnPGroupPermissions -Identity "myteam Members&...
2 votes

Run a PowerShell script interactively on a SPO site (modern)?

There is a way. Although it's theoretical. Modify your PowerShell script so that it also hosts a mini-web server. You can use two PowerShell modules for that: Import-Module Polaris -Verbose Import-...
2 votes
Accepted

Not able to create modern team site with group through PowerShell

You can create a Modern team site with associated O365 group using PnP PowerShell. New-PnPSite -Type TeamSite -Title "Test Group" -Alias "TestGroup" -Description "Test group desc" -IsPublic ...
  • 30.5k
2 votes

Get users within o365 Group using CSOM

First you get the groupd id from the propertybag: KKSiteProperties GetProperties() { var propertyBag = SPOContext.Web.AllProperties; SPOContext.Web.Context.Load(propertyBag); SPOContext....
2 votes
Accepted

When creating teams, are there any differences if i add the user from sharepoint site or from Office 365 group or from MS Teams

All the approaches you outlined are identical. If you add them to the Office 365 Group in the various ways you can do so, they will have the appropriate access to Teams, SharePoint, and any other ...
  • 28.9k
2 votes

Can an Office 365 Group be connected to more than one site collection simultaneously?

You can only connect an Office 365 group to an existing SharePoint site. It is a one-to-one relationship.
  • 5,086
2 votes
Accepted

Provision an Office365 Group and disable shared email address

No, it isn't possible. Office 365 Groups are a take it or leave it object.
  • 28.9k
2 votes
Accepted

PowerShell to get all O365 groups

You could use the Get-UnifiedGroup cmdlet to view Microsoft 365 Groups. Reference: https://docs.microsoft.com/en-us/powershell/module/exchange/get-unifiedgroup?view=exchange-ps
  • 5,086

Only top scored, non community-wiki answers of a minimum length are eligible