spfx-auth
Installation
SKILL.md
SPFx Auth — m365 Authentication Check
Ensures the m365 CLI is authenticated before any SharePoint operation. Safe to run multiple times — it is a no-op when already logged in.
When to Use
- Before any
m365 spocommand (list creation, app catalog operations) - Before any deploy or validate operations
- Whenever a command fails with
Access deniedor401 Unauthorized
Procedure
1. Check current authentication status
m365 status