Skip to content
Discussion options

You must be logged in to vote

Glad it worked. The blank is not your tenant; it is a gap in the cmdlet.

When Set-PnPTenantSite applies the context it writes the name to the site property AuthContextStrength. Get-PnPTenantSite builds its output from that same property set, and its model declares ProtectionLevelName but never copies AuthContextStrength into it, so the field comes back empty no matter what is applied. The ConditionalAccessPolicy column reads correctly because that one is copied.

Two ways to read the applied name today:

  1. The SharePoint Online management shell exposes it directly:

    Get-SPOSite -Identity "https://tenant.sharepoint.com/sites/Policy-Test" | Select-Object Url, ConditionalAccessPolicy, Authentic…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@pratheep-r
Comment options

Comment options

You must be logged in to vote
1 reply
@pratheep-r
Comment options

Answer selected by pratheep-r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants