Skip to content

How to connect to the 21Vianet (China) version of SharePoint with MFA enabled account ? #972

@mengdahuang

Description

@mengdahuang

Thank you to the author of this project!

I would like to ask, my O365 is Operated by 21Vianet under Chinese regulations. Currently, I am using the PowerShell command below to access SharePoint Online and retrieve metadata information for relevant files:

Connect-PnPOnline https://xxxx.sharepoint.cn/teams/xxx -UseWebLogin

## Get File's metainfo
$file = Get-PnPFile -Url "/teams/ITO/Shared%20Documents/123/Test.docx" -AsListItem
$file.FieldValues.MetaInfo

May I ask how to connect and retrieve metadata information for all files in a specified file or directory using this project?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions