Office365-Scoutnet-synk

Synkronisering av användarkonton och e-postlistor från Scoutnet till Office 365


Project maintained by Scouterna Hosted on GitHub Pages — Theme by mattgraham

Invoke-SNSUppdateOffice365User

Main function for syncronisation of office 365 users with scoutnet.

Description

Fetches the distribution groups members and updates corressponding distribution groups based on the info from scoutnet. As all members of an distribution group must be present in exchange as user or contact, contacts will be created for external addresses.

Syntax

Invoke-SNSUppdateOffice365User [-Configuration <Object>] [<CommonParameters>]

Invoke-SNSUppdateOffice365User -TestMode -TestMasterAccount <string> [-Configuration <Object>] [-TestExtraMembers <string[]>] [<CommonParameters>]

Parameters

-Configuration

Type: Object; optional.

Configuration to use. If not specified the cached configuration will be used.

-TestMode

Type: SwitchParameter; required.

Activates test mode (parameter set ‘TestMode’). Mail intended for the private address of a new user is sent to TestMasterAccount instead.

-TestMasterAccount

Type: String; required.

Mail address of the test master account that receives mail otherwise sent to the private address of the user. Only used in test mode.

-TestExtraMembers

Type: String[]; optional.

Scoutnet member numbers that are added to the list of members that should have an account. Only used in test mode.