{"id":20286541,"url":"https://github.com/pnp/vscode-cli-microsoft365","last_synced_at":"2026-04-17T00:03:01.677Z","repository":{"id":248777628,"uuid":"812789878","full_name":"pnp/vscode-cli-microsoft365","owner":"pnp","description":"With the CLI for Microsoft 365 VS Code extension, you can quickly learn, code and create scripts that use CLI for Microsoft 365 commands.","archived":false,"fork":false,"pushed_at":"2026-04-15T12:15:46.000Z","size":18027,"stargazers_count":10,"open_issues_count":7,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-15T14:22:02.438Z","etag":null,"topics":["bash","cli","cli-microsoft365","hacktoberfest","m365","m365dev","powershell"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=adamwojcikit.cli-for-microsoft-365-extension","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pnp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-09T22:03:21.000Z","updated_at":"2026-04-10T21:28:03.000Z","dependencies_parsed_at":"2026-02-28T01:29:23.070Z","dependency_job_id":null,"html_url":"https://github.com/pnp/vscode-cli-microsoft365","commit_stats":null,"previous_names":["pnp/vscode-cli-microsoft365"],"tags_count":63,"template":false,"template_full_name":null,"purl":"pkg:github/pnp/vscode-cli-microsoft365","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnp%2Fvscode-cli-microsoft365","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnp%2Fvscode-cli-microsoft365/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnp%2Fvscode-cli-microsoft365/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnp%2Fvscode-cli-microsoft365/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pnp","download_url":"https://codeload.github.com/pnp/vscode-cli-microsoft365/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnp%2Fvscode-cli-microsoft365/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31909235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cli","cli-microsoft365","hacktoberfest","m365","m365dev","powershell"],"created_at":"2024-11-14T14:34:56.235Z","updated_at":"2026-04-17T00:03:01.648Z","avatar_url":"https://github.com/pnp.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  CLI for Microsoft 365 extension\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://marketplace.visualstudio.com/items?itemName=adamwojcikit.cli-for-microsoft-365-extension\u0026ssr=false#overview\"\u003e\n    \u003cimg src=\"https://vscode-marketplace-badge.vercel.app/api/badge/version/adamwojcikit.cli-for-microsoft-365-extension?color=%23276EC2\u0026style=flat-square\"\n      alt=\"version\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://marketplace.visualstudio.com/items?itemName=adamwojcikit.cli-for-microsoft-365-extension\u0026ssr=false#overview\"\u003e\n    \u003cimg src=\"https://vscode-marketplace-badge.vercel.app/api/badge/installs/adamwojcikit.cli-for-microsoft-365-extension?color=%234B51B8\u0026style=flat-square\"\n      alt=\"installs\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nThis extension provides functionalities that may be helpful when creating scripts that use CLI for Microsoft 365. Currently, the extension provides:\n\n- embedded documentation\n- samples powered by PnP Script Sample Gallery \n- snippets with all possible CLI for Microsoft 365 commands\n\nPlease check [CLI for Microsoft 365 docs](https://pnp.github.io/cli-microsoft365/) for more information.\n\n![samples](./assets/images/main.png)\n\n## ✨ Capabilities\n\n### 1️⃣ Script samples gallery\n\nUsing `CLI M365: Open samples gallery` command or 'Samples' button you may open the gallery with all available samples. Currently, the samples shown are retrieved from the [PnP script samples repository](https://github.com/pnp/script-samples). From the samples gallery you may go to the sample location or create a new tab in the editor prefilled with the CLI for Microsoft 365 script. It is possible to search for samples by:\n\n- title\n- authors\n- commands used in samples\n\n![samples](/assets/images/samples.gif)\n\n### 2️⃣ Docs\n\nThis functionality provides CLI docs view for all commands inside VS Code. No more transition between the code editor and browser is needed. It is possible to go to docs original website location and also open a sample gallery showing all samples using the command.\n\n![docs](/assets/images/howDocsWork.gif)\n![docs](/assets/images/docsSearch.gif)\n\nIt is also possible to use the command `CLI M365: Open docs for command` to open the docs for a specific command.\n\n![docs](/assets/images/docsCommand.gif)\n\n### 3️⃣ Snippets\n\nThe extensions help to quickly find the proper CLI for Microsoft 365 command and add it into the code using snippets. The command is added along with all obligatory parameters. It is possible to move between parameters using 'Tab' key quickly. Each CLI command snippet is also provided with the same description as may be found in the docs which is a great help to understand the commands functionality quickly.\n\n![snippetsList](/assets/images/snippets.gif)\n\nIn order to use snippets please type part of a snippet and press enter or tab. The command will be automatic with the possibility to provide obligatory parameters. You may also use 'Ctrl + Space' (Windows, Linux) or 'Cmd + Space' (macOS) to activate snippets from within the editor.\n\n![snippetsList](/assets/images/snippetsList.png)\n\nIt is also possible to use the command `Insert Snippet` in VS Code to see the full list\n\n![snippetsList](/assets/images/listOfCommandsFromToolbar.png)\n\n### 4️⃣ Actions\n\nThe extension provides additional links above the command list which allows opening docs web page, GitHub repository, and CLI for Microsoft 365 Discord server in your default browser.\n\n![commandActions](/assets/images/commandActions.png)\n\n## 🤖 Commands\n\nThe extension provides the following commands:\n\n| command   |      description      |\n|----------|:-------------:|\n| CLI M365: Open samples gallery |  Opens up the sample gallery |\n| CLI M365: Open docs for command |    Search for command doc file. The command may also be prefilled by the selected CLI for Microsoft 365 command   |\n\n![commands](/assets/images/commands.png)\n\n## 📑 Language\n\nCurrently, the extension supports the following language:\n\n- shellscript\n- powershell\n- javascript\n\n![languageSupport](/assets/images/languageSupport.png)\n\n## 🙋 Support\n\nThis project is a community lead extension provided by the [Microsoft 365 and Power Platform Community](https://aka.ms/m365/community) members. Questions, problems, or feedback is more than welcome. Please create an issue in the extension repository [issue list](https://github.com/pnp/vscode-cli-microsoft365/issues).\n\n## 👍 Community\n\nAre you building experiences for Microsoft 365? - Everyone is welcome to join our [Microsoft 365 and Power Platform Community](https://aka.ms/m365/community) efforts with community calls, samples and guidance. Join our [weekly community calls](https://aka.ms/m365/calls) for Microsoft 365 and Power Platform topics or engage with us on [Discord](https://aka.ms/community/discord). Everyone is welcome 🧡\n\n## 🧾 Code of Conduct\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information, see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n## 😍 \"Sharing is Caring\"\n\n\u003ch1 align=\"center\"\u003e\n  \u003cimg alt=\"Microsoft 365 \u0026 Power Platform Community\" src=\"./assets/images/parker-pnp.png\" width=\"200px\" /\u003e\n\u003c/h1\u003e\n\n## 🔑 License\n\n[MIT License](https://github.com/pnp/vscode-cli-microsoft365/blob/main/LICENSE.md)\n\n## ⚠️ Disclaimer\n\n**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.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnp%2Fvscode-cli-microsoft365","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpnp%2Fvscode-cli-microsoft365","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnp%2Fvscode-cli-microsoft365/lists"}