working with the groups

Post on 12-Apr-2017

237 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

#officedev

Working with the Office 365 GroupsAlbert-Jan Schot

Groups development options

AdministratorsMicrosoft

GraphConnectors

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

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

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

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

Administer 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

Groups PowerShellGet-UnifiedGroup

Set-UnifiedGroup

New-UnifiedGroup

Remove-UnifiedGroup

Get-UnifiedGroupLinks

Add-UnifiedGroupLinks

Remove-UnifiedGroupLinks

Groups PowerShellSet-UnifiedGroup mydemogroup@contoso.com -MailTip "Awesome group!" -PrimarySmtpAdress "renamedgroup@contoso.com" -Classification <HighImpact> -AccessType <Public><Private>

Groups PowerShellGet-UnifiedGroup |

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

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

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

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

-StorageQuota 3000 -StorageQuotaWarningLevel 2000}

Groups PowerShellGet-UnifiedGroup | Foreach-Object {

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

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

Working with connectors

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"] } ]}

Working with Microsoft Graph

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

top related