20

Working with the Groups

Embed Size (px)

Citation preview

Page 1: Working with the Groups
Page 2: Working with the Groups

#officedev

Working with the Office 365 GroupsAlbert-Jan Schot

Page 3: Working with the Groups

Groups development options

AdministratorsMicrosoft

GraphConnectors

Page 4: Working with the Groups

Groups building blocks

Azure Active Directory

Apps

Skyp

e

…Ou

tlook

OneD

rive

Cale

ndar

OneN

ote

Yam

mer

Dyna

mics

CRM

Delv

e

Office 365 Groups

Plan

ner,

Powe

rBI

Page 5: Working with the Groups

One group system across Office 365One identityAzure Active Directory (AAD) is the master for group identity and membership across Office 365 (Exchange, SharePoint, etc.)

Federated resourcesO365 services extend with their data

Loose couplingServices notify each other of changes to a group (e.g., creation, deletion, updates)

SharePoint

SharePoint Online AD Documents

OneNote

OneDrive for business

Additional workloads

Workload scenarios

Workload resourcesLocal

Directory(if applicable)

Exchange

Conversations Calendar

Group mailboxExchange

Online AD

IdentityResource URLsOwnersMembers

AAD

Group identity

Page 6: Working with the Groups

A closer look at sites and groupsBefore• Groups get a basic

document library• Users create from

Outlook• SharePoint self-service

creates sub-webs• SharePoint admin

creates site collections

Going forward• Groups get a team site

in a new site collection• Existing group doc

libraries grow into full team site

• Users can create from Outlook or SharePoint

• SharePoint admin can still create stand-alone site collections

Page 7: Working with the Groups

Keep in mind1. A single user can create 250 groups 2. No more then 10 owners per group 3. Performance degradation after more than

1000 members4. A plan an a group are currently not linked

automatically

Page 8: Working with the Groups

Administer groups

Page 9: Working with the Groups

Groups PowerShell$userCredential = Get-Credential

$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $userCredential -Authentication Basic –AllowRedirection

Import-PSSession $session

Page 10: Working with the Groups

Groups PowerShellGet-UnifiedGroup

Set-UnifiedGroup

New-UnifiedGroup

Remove-UnifiedGroup

Get-UnifiedGroupLinks

Add-UnifiedGroupLinks

Remove-UnifiedGroupLinks

Page 11: Working with the Groups

Groups PowerShellSet-UnifiedGroup [email protected] -MailTip "Awesome group!" -PrimarySmtpAdress "[email protected]" -Classification <HighImpact> -AccessType <Public><Private>

Page 12: Working with the Groups

Groups PowerShellGet-UnifiedGroup |

Foreach-Object { Get-MailboxStatistics –Identity $_.Identity

} | Where-Object {$_.LastLogonTime -ge (Get-Date).AddDays(-7)}

Page 13: Working with the Groups

Groups PowerShellGet-UnifiedGroup | Foreach-Object { Set-SPOSite –Identity

$_.SharePointDocumentsUrl.replace("/Shared Documents", "")

-StorageQuota 3000 -StorageQuotaWarningLevel 2000}

Page 14: Working with the Groups

Groups PowerShellGet-UnifiedGroup | Foreach-Object {

Get-SPOSite -Identity $_.SharePointDocumentsUrl.replace("/Shared Documents", "")} | FT Title, Url, LastContentModifiedDate

Page 15: Working with the Groups

Groups PowerShell$Policy = Get-MsolSettingTemplate

–TemplateId 62375ab9-6b52-47ed-826b-58e47e0e304b

$Setting = $Policy.CreateSettingsObject()$Setting["EnableGroupCreation"] = "false"$Setting["GroupCreationAllowedGroupId"] = "guid-admin-group" $Setting["UsageGuidelinesUrl"] = "https://www.contoso.com"$Setting["ClassificationList"] = "Low,Medium,High“

New-MsolSettings –SettingsObject $Setting

Page 16: Working with the Groups

Working with connectors

Page 17: Working with the Groups

Incoming webhook{ "text": " Make sure to present!", "title": "Awesome Demo!", "themeColor": "5500B3", "potentialAction": [ { "@context": "http://schema.org", "@type": "ViewAction", "name": "View on TechDays", "target": ["http://www.techdays.nl"] } ]}

Page 18: Working with the Groups

Working with Microsoft Graph

Page 19: Working with the Groups

Next steps1. Developer opportunities

http://dev.office.com/getting-started & https://dev.outlook.com/Connectors & http://graph.microsoft.io

2. Start coding3. Provide feedback:

https://officespdev.uservoice.com

Page 20: Working with the Groups