Search Results for

    Show / Hide Table of Contents

    Enum SPOConditionalAccessPolicyType

    Specifies what type of SPO conditional access policy is enabled for the tenant

    Namespace: PnP.Core.Admin.Model.SharePoint
    Assembly: PnP.Core.Admin.dll
    Syntax
    public enum SPOConditionalAccessPolicyType : int

    AllowFullAccess

    No conditional access policy is enabled for the tenant. No AAD policy is enabled and both SPO-BlockDownloadOfViewableFilesOnUnmanagedDevicesPolicy and SPO-BlockDownloadOfAllFilesOnUnmanagedDevicesPolicy in SPO are disabled. End users have the full access to the content.

    AllowLimitedAccess

    Limited access is enabled for the tenant. We create AAD limited access policy and enable SPO-BlockDownloadOfViewableFilesOnUnmanagedDevicesPolicy in SPO. End users get limited access experience when they access to the content.

    AuthenticationContext

    Authentication Context is enabled for the site. We create AAD Authentication context policy and enable it in SPO by running this command: Set-SPOSite - ConditionalAccessPolicy AuthenticationContext -AuthenticationContextName "Contos MFA" The user will be redirected to AAD to evaluate this policy if the policy is enabled.

    BlockAccess

    Block access is enabled for the tenant. We create AAD block access policy and enable SPO-BlockDownloadOfAllFilesOnUnmanagedDevicesPolicy in SPO. End users would be blocked sign-in by AAD.

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer