Страница:
SPOSharingSettings
Страницы
AADApplication
AADConditionalAccessPolicy
AADGroup
AADGroupLifecyclePolicy
AADGroupsNamingPolicy
AADGroupsSettings
AADMSGroup
AADMSGroupLifecyclePolicy
AADNamedLocationPolicy
AADPolicy
AADRoleDefinition
AADServicePrincipal
AADTenantDetails
AADTokenLifetimePolicy
Assessing
Automating
Breaking Changes Policy
Contribute to Microsoft365dsc.com
Develop a New Resource
EXOAcceptedDomain
EXOActiveSyncDeviceAccessRule
EXOAddressBookPolicy
EXOAddressList
EXOAntiPhishPolicy
EXOAntiPhishRule
EXOApplicationAccessPolicy
EXOAtpPolicyForO365
EXOAvailabilityAddressSpace
EXOAvailabilityConfig
EXOCASMailboxPlan
EXOClientAccessRule
EXODkimSigningConfig
EXOEmailAddressPolicy
EXOGlobalAddressList
EXOHostedConnectionFilterPolicy
EXOHostedContentFilterPolicy
EXOHostedContentFilterRule
EXOHostedOutboundSpamFilterPolicy
EXOHostedOutboundSpamFilterRule
EXOInboundConnector
EXOIntraOrganizationConnector
EXOJournalRule
EXOMailTips
EXOMailboxSettings
EXOMalwareFilterPolicy
EXOMalwareFilterRule
EXOManagementRole
EXOMobileDeviceMailboxPolicy
EXOOfflineAddressBook
EXOOnPremisesOrganization
EXOOrganizationConfig
EXOOrganizationRelationship
EXOOutboundConnector
EXOOwaMailboxPolicy
EXOPartnerApplication
EXOPolicyTipConfig
EXORemoteDomain
EXORoleAssignmentPolicy
EXOSafeAttachmentPolicy
EXOSafeAttachmentRule
EXOSafeLinksPolicy
EXOSafeLinksRule
EXOSharedMailbox
EXOSharingPolicy
EXOTransportRule
Exporting
Getting Started
Home
How to Create a M365DSC Blueprint
IntuneAppConfigurationPolicy
IntuneAppProtectionPolicyiOS
IntuneDeviceCategory
IntuneDeviceCompliancePolicyAndroid
IntuneDeviceCompliancePolicyAndroidWorkProfile
IntuneDeviceCompliancePolicyMacOS
IntuneDeviceCompliancePolicyWindows10
IntuneDeviceCompliancePolicyiOs
IntuneDeviceConfigurationPolicyAndroidWorkProfile
IntuneDeviceConfigurationPolicyWindows
IntuneDeviceConfigurationPolicyWindows10
IntuneDeviceConfigurationPolicyiOS
IntuneDeviceEnrollmentLimitRestriction
IntuneDeviceEnrollmentPlatformRestriction
Known Issues
Monitoring
O365AdminAuditLogConfig
O365Group
O365OrgCustomizationSetting
O365User
ODSP Permissions
ODSettings
PPPowerAppsEnvironment
PPTenantSettings
Permissions
PlannerBucket
PlannerPlan
PlannerTask
Reporting
Resources List
SCAuditConfigurationPolicy
SCCaseHoldPolicy
SCCaseHoldRule
SCComplianceCase
SCComplianceSearch
SCComplianceSearchAction
SCComplianceTag
SCDLPCompliancePolicy
SCDLPComplianceRule
SCDeviceConditionalAccessPolicy
SCDeviceConfigurationPolicy
SCFilePlanPropertyAuthority
SCFilePlanPropertyCategory
SCFilePlanPropertyCitation
SCFilePlanPropertyDepartment
SCFilePlanPropertyReferenceId
SCFilePlanPropertySubCategory
SCLabelPolicy
SCRetentionCompliancePolicy
SCRetentionComplianceRule
SCRetentionEventType
SCSensitivityLabel
SCSupervisoryReviewPolicy
SCSupervisoryReviewRule
SPOAccessControlSettings
SPOApp
SPOBrowserIdleSignout
SPOHomeSite
SPOHubSite
SPOOrgAssetsLibrary
SPOPropertyBag
SPOSearchManagedProperty
SPOSearchResultSource
SPOSharingSettings
SPOSite
SPOSiteAuditSettings
SPOSiteDesign
SPOSiteDesignRights
SPOSiteGroup
SPOSiteScript
SPOStorageEntity
SPOTenantCDNPolicy
SPOTenantCdnEnabled
SPOTenantSettings
SPOTheme
SPOUserProfileProperty
Setting up your Environment to Contribute to the Project
TeamsCallingPolicy
TeamsChannel
TeamsChannelTab
TeamsChannelsPolicy
TeamsClientConfiguration
TeamsEmergencyCallRoutingPolicy
TeamsEmergencyCallingPolicy
TeamsGuestCallingConfiguration
TeamsGuestMeetingConfiguration
TeamsGuestMessagingConfiguration
TeamsMeetingBroadcastConfiguration
TeamsMeetingBroadcastPolicy
TeamsMeetingConfiguration
TeamsMeetingPolicy
TeamsMessagingPolicy
TeamsPstnUsage
TeamsTeam
TeamsTenantDialPlan
TeamsUpgradeConfiguration
TeamsUpgradePolicy
TeamsUser
TeamsVoiceRoute
TeamsVoiceRoutingPolicy
Troubleshooting
What is Microsoft365DSC
14
SPOSharingSettings
Nik Charlebois редактировал(а) эту страницу 2021-10-06 06:17:59 -04:00
Содержание
Этот файл содержит невидимые символы Юникода!
Этот файл содержит невидимые символы Юникода, которые могут быть отображены не так, как показано ниже. Если это намеренно, можете спокойно проигнорировать это предупреждение. Используйте кнопку Экранировать, чтобы показать скрытые символы.
# SPOSharingSettings
Parameters
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
IsSingleInstance | Key | String | Specifies the resource is a single instance, the value must be 'Yes' | Yes |
SharingCapability | Write | String | Configures anonymous link types for folders | ExistingExternalUserSharingOnly, ExternalUserAndGuestSharing, Disabled, ExternalUserSharingOnly |
ShowEveryoneClaim | Write | Boolean | Enables the administrator to hide the Everyone claim in the People Picker. | |
ShowAllUsersClaim | Write | Boolean | Enables the administrator to hide the All Users claim groups in People Picker. | |
ShowEveryoneExceptExternalUsersClaim | Write | Boolean | Enables the administrator to hide the Everyone except external users claim in the People Picker. | |
ProvisionSharedWithEveryoneFolder | Write | Boolean | Creates a Shared with Everyone folder in every user's new OneDrive for Business document library. | |
EnableGuestSignInAcceleration | Write | Boolean | Accelerates guest-enabled site collections as well as member-only site collections when the SignInAccelerationDomain parameter is set. | |
BccExternalSharingInvitations | Write | Boolean | When the feature is enabled, all external sharing invitations that are sent will blind copy the e-mail messages listed in the BccExternalSharingsInvitationList. | |
BccExternalSharingInvitationsList | Write | String | Specifies a list of e-mail addresses to be BCC'd when the BCC for External Sharing feature is enabled.Multiple addresses can be specified by creating a comma separated list with no spaces. | |
RequireAnonymousLinksExpireInDays | Write | UInt32 | Specifies all anonymous links that have been created (or will be created) will expire after the set number of days. | |
SharingAllowedDomainList | Write | StringArray[] | Specifies a list of email domains that is allowed for sharing with the external collaborators. Entry values as an array of domains. | |
SharingBlockedDomainList | Write | StringArray[] | Specifies a list of email domains that is blocked or prohibited for sharing with the external collaborators. Entry values as an array of domains. | |
SharingDomainRestrictionMode | Write | String | Specifies the external sharing mode for domains. | None, AllowList, BlockList |
DefaultSharingLinkType | Write | String | Lets administrators choose what type of link appears is selected in the 'Get a link' sharing dialog box in OneDrive for Business and SharePoint Online | None, Direct, Internal, AnonymousAccess |
PreventExternalUsersFromResharing | Write | Boolean | Allow or deny external users re-sharing | |
ShowPeoplePickerSuggestionsForGuestUsers | Write | Boolean | Enables the administrator to hide the guest users claim in the People Picker. | |
FileAnonymousLinkType | Write | String | Configures anonymous link types for files | View, Edit |
FolderAnonymousLinkType | Write | String | Configures anonymous link types for folders | View, Edit |
NotifyOwnersWhenItemsReshared | Write | Boolean | When this parameter is set to $true and another user re-shares a document from a userâs OneDrive for Business, the OneDrive for Business owner is notified by e-mail. | |
DefaultLinkPermission | Write | String | Specifies the link permission on the tenant level. | None, View, Edit |
RequireAcceptingAccountMatchInvitedAccount | Write | Boolean | Ensures that an external user can only accept an external sharing invitation with an account matching the invited email address.Administrators who desire increased control over external collaborators should consider enabling this feature. False (default) - When a document is shared with an external user, bob@contoso.com, it can be accepted by any user with access to the invitation link in the original e-mail.True - User must accept this invitation with bob@contoso.com. | |
Ensure | Write | String | Only accepted value is 'Present'. | Present, Absent |
Credential | Write | PSCredential | Credentials of the account to authenticate with. | |
ApplicationId | Write | String | Id of the Azure Active Directory application to authenticate with. | |
ApplicationSecret | Write | String | Secret of the Azure Active Directory application to authenticate with. | |
TenantId | Write | String | Name of the Azure Active Directory tenant used for authentication. Format contoso.onmicrosoft.com | |
CertificatePassword | Write | PSCredential | Username can be made up to anything but password will be used for certificatePassword | |
CertificatePath | Write | String | Path to certificate used in service principal usually a PFX file. | |
CertificateThumbprint | Write | String | Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication. |
SPO Sharing Settings
This resource allows users to configure and monitor the sharing settings for your SPO tenant sharing settings
Examples
Example 1
This example is used to test new resources and showcase the usage of new resources being worked on. It is not meant to use as a production baseline.
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$credsGlobalAdmin
)
Import-DscResource -ModuleName Microsoft365DSC
node localhost
{
SPOSharingSettings MyTenant
{
IsSingleInstance = "Yes"
Credential = $credsGlobalAdmin
SharingCapability = 'ExternalUserSharingOnly'
ShowEveryoneClaim = $false
ShowAllUsersClaim = $false
ShowEveryoneExceptExternalUsersClaim = $true
ProvisionSharedWithEveryoneFolder = $false
EnableGuestSignInAcceleration = $false
BccExternalSharingInvitations = $false
BccExternalSharingInvitationsList = ""
RequireAnonymousLinksExpireInDays = 730
SharingAllowedDomainList = @("contoso.com")
SharingBlockedDomainList = @("contoso.com")
SharingDomainRestrictionMode = "None"
DefaultSharingLinkType = "AnonymousAccess"
PreventExternalUsersFromResharing = $false
ShowPeoplePickerSuggestionsForGuestUsers = $false
FileAnonymousLinkType = "Edit"
FolderAnonymousLinkType = "Edit"
NotifyOwnersWhenItemsReshared = $true
DefaultLinkPermission ="View"
RequireAcceptingAccountMatchInvitedAccount = $false
Ensure = "Present"
}
}
}