All Projects → pnp → Cli Microsoft365

pnp / Cli Microsoft365

Licence: mit
Manage Microsoft 365 and SharePoint Framework projects on any platform

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Cli Microsoft365

Generator Spfx
Open-source generator to extend the capabilities of the Microsoft SPFx generator
Stars: ✭ 150 (-64.29%)
Mutual labels:  sharepoint, office365, hacktoberfest, microsoft
Azure Sdk For Python
This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
Stars: ✭ 2,321 (+452.62%)
Mutual labels:  azure, hacktoberfest, microsoft
Microsoft365dsc
Manages, configures, extracts and monitors Microsoft 365 tenant configurations
Stars: ✭ 374 (-10.95%)
Mutual labels:  sharepoint, office365, microsoft
Exchangelib
Python client for Microsoft Exchange Web Services (EWS)
Stars: ✭ 787 (+87.38%)
Mutual labels:  office365, hacktoberfest, microsoft
Partnercenterpowershellmodule
Partner Center PowerShell Module
Stars: ✭ 35 (-91.67%)
Mutual labels:  office365, azure, microsoft
Pnp Sites Core
Microsoft 365 Dev PnP Core component (.NET) targeted for increasing developer productivity with CSOM based solutions.
Stars: ✭ 411 (-2.14%)
Mutual labels:  sharepoint, office365, hacktoberfest
Azure Sdk For Net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
Stars: ✭ 3,079 (+633.1%)
Mutual labels:  azure, hacktoberfest, microsoft
Powershell
PowerShell functions and scripts (Azure, Active Directory, SCCM, SCSM, Exchange, O365, ...)
Stars: ✭ 1,302 (+210%)
Mutual labels:  office365, azure, hacktoberfest
vbo365-rest
Unofficial Self-Service Web Portal for Veeam Backup for Microsoft Office 365
Stars: ✭ 44 (-89.52%)
Mutual labels:  microsoft, sharepoint, office365
powershell
PnP PowerShell
Stars: ✭ 326 (-22.38%)
Mutual labels:  microsoft, sharepoint, office365
script-samples
A sample gallery of scripts to manage all things Microsoft 365.
Stars: ✭ 56 (-86.67%)
Mutual labels:  microsoft, azure, sharepoint
Azure Spring Boot
Spring Boot Starters for Azure services
Stars: ✭ 352 (-16.19%)
Mutual labels:  azure, microsoft
Compose Cli
Easily run your Compose application to the cloud with compose-cli
Stars: ✭ 353 (-15.95%)
Mutual labels:  azure, cli
S3cmd
Official s3cmd repo -- Command line tool for managing Amazon S3 and CloudFront services
Stars: ✭ 3,767 (+796.9%)
Mutual labels:  cli, hacktoberfest
Ack3
ack is a grep-like search tool optimized for source code.
Stars: ✭ 330 (-21.43%)
Mutual labels:  cli, hacktoberfest
Mongo Seeding
The ultimate solution for populating your MongoDB database.
Stars: ✭ 375 (-10.71%)
Mutual labels:  cli, hacktoberfest
Onedrive
#1 Free OneDrive Client for Linux
Stars: ✭ 5,104 (+1115.24%)
Mutual labels:  office365, microsoft
Memento
Memento is a development-only tool that caches HTTP calls once they have been executed.
Stars: ✭ 380 (-9.52%)
Mutual labels:  cli, hacktoberfest
Pnp Js Core
Code moved to https://github.com/pnp/pnpjs. This repository is archived.
Stars: ✭ 382 (-9.05%)
Mutual labels:  sharepoint, microsoft
Teachcode
A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.
Stars: ✭ 325 (-22.62%)
Mutual labels:  cli, hacktoberfest

CLI for Microsoft 365
CLI for Microsoft 365

One CLI for Microsoft 365

GitHub Twitter

npm @pnp/cli-microsoft365@latest npm @pnp/cli-microsoft365@next

CLI for Microsoft 365 helps you manage your Microsoft 365 tenant and SharePoint Framework projects.

Website | Features | Install | Usage | Build | Contribute

Sharing is Caring | Code of Conduct | Disclaimer

CLI for Microsoft 365

Features

  • Run on any OS
    • Linux
    • MacOS
    • Windows
  • Run on any shell
    • Azure Cloud Shell
    • bash
    • cmder
    • PowerShell
    • zsh
  • Unified login
    • Access all your Microsoft 365 workloads
  • Supported workloads
    • Azure Active Directory
    • Microsoft Teams
    • Microsoft To Do
    • OneDrive
    • Outlook
    • Planner
    • Power Automate
    • Power Apps
    • Skype for Business
    • SharePoint Online
    • Yammer
  • Supported authentication methods
    • Azure Managed Identity
    • Certificate
    • Device Code
    • Username and Password
  • Manage your SharePoint Framework projects
    • Uprade your projects
    • Check your environment compatibility

Follow our Twitter account to keep yourself updated about new features, improvements, and bug fixes.

Install

To install this CLI, you will need node >= 8.0.0 installed.

npm install -g @pnp/cli-microsoft365
Install beta version β
npm install -g @pnp/[email protected]
Alternate package managers 🧶

yarn

yarn global add @pnp/cli-microsoft365

npx

npx @pnp/cli-microsoft365
Run CLI for Microsoft 365 in a Docker container 🐳
docker run --rm -it m365pnp/cli-microsoft365:latest

Checkout our guide to learn more about how to run CLI for Microsoft 365 using Docker

Usage

Use the login command to start the Device Code login flow to authenticate with your Microsoft 365 tenant.

m365 login

On your first login you will be asked to consent to several permissions that the PnP Management Shell multi-tenant app requires for the commands to work successfully against your tenant. If you want to create your own identity to use with the CLI, refer to the Using your own Azure AD Identity guide.

For alternative authentication methods and usage, refer to the login command documentation

List all commands using the global --help option.

m365 --help

Get command information and example usage using the global --help option.

m365 spo site get --help

Execute a command and output response as text.

m365 spo site get --url https://contoso.sharepoint.com

Execute a command and output response as JSON using the global --output option.

m365 spo site get --url https://contoso.sharepoint.com --output json

Filter responses and return custom objects using JMESPath queries using the global --query option.

m365 spo site list --output json --query '[?Template==`GROUP#0`].{Title:Title, Url:Url}'

For more examples and usage, refer to the command and sample scripts documentation.

Build

To build and run this CLI locally, you will need node >= 14.0.0 installed.

# Clone this repository
$ git clone https://github.com/pnp/cli-microsoft365

# Go into the repository
$ cd cli-microsoft365

# Install dependencies
$ npm install

# Build the CLI
$ npm run build

# Symlink your local CLI build
$ npm link

When you execute any m365 command from the terminal, it will now use your local clone of the CLI.

Contribute

We love to accept contributions.

If you want to get involved with helping us grow the CLI, whether that is suggesting or adding a new command, extending an existing command or updating our documentation, we would love to hear from you.

Checkout our Wiki for guides on how to contribute to this project.

Sharing is Caring

This project is associated with the Microsoft 365 Patterns and Practices (PnP) organisation, which is a virtual team consisting of Microsoft employees and community members focused on helping the community make the best use of Microsoft products.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct.

For more information see the [email protected] with any additional questions or comments.

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

telemetry

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].