Skip to content

New command: set SPO URL #1070

@waldekmastykarz

Description

@waldekmastykarz

spo set --url <url>

Sets the context URL for the root SharePoint site collection.

Option Description
--url The URL of the root SharePoint site collection

Rationale

In v2, Office 365 CLI automatically discovers the URL of the root SharePoint site collection/SharePoint tenant admin site (whichever is needed to run the particular command). In specific cases, like when managing multi-geo Office 365 tenant, it could be desirable to make the CLI manage the specific geography. For such cases, you can use this command to explicitly specify the SPO URL that should be used when executing SPO commands.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions