[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M793WH2A5T8XGTV0JB4W06RK":3,"skill-same:01M793WH2A5T8XGTV0JB4W06RK":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M793WH2A5T8XGTV0JB4W06RK","onenote-security-basics",null,"Implement secure authentication, token management, and permission scoping for OneNote Graph API.\nUse when hardening OneNote integrations, implementing least-privilege permissions, or managing token lifecycle.\nTrigger with \"onenote security\", \"onenote permissions\", \"onenote token management\", \"onenote least privilege\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--onenote-pack--onenote-security-basics\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: onenote-security-basics\ndescription: |\n  Implement secure authentication, token management, and permission scoping for OneNote Graph API.\n  Use when hardening OneNote integrations, implementing least-privilege permissions, or managing token lifecycle.\n  Trigger with \"onenote security\", \"onenote permissions\", \"onenote token management\", \"onenote least privilege\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, onenote, microsoft]\ncompatible-with: claude-code\n---\n\n# OneNote Security Basics\n\n## Overview\n\nOneNote Graph API security changed fundamentally on March 31, 2025, when Microsoft deprecated app-only authentication for OneNote endpoints. Every integration must now use delegated authentication through MSAL, which means real users must sign in — no more background service accounts with client secrets. This skill covers the full security surface: permission scoping, token lifecycle management, MSAL cache serialization, credential storage, and multi-tenant hardening. Get any of these wrong and your integration either breaks silently (expired tokens returning 401s) or over-provisions access (Notes.ReadWrite.All when Notes.Read suffices).\n\n## Prerequisites\n\n- Azure AD app registration with redirect URI configured at https:\u002F\u002Fportal.azure.com\u002F#blade\u002FMicrosoft_AAD_RegisteredApps\n- Microsoft 365 license (E3\u002FE5\u002FBusiness) with OneNote enabled\n- Python: `pip install msgraph-sdk azure-identity msal` or Node: `npm install @microsoft\u002Fmicrosoft-graph-client @azure\u002Fidentity @azure\u002Fmsal-node`\n- Understanding of OAuth 2.0 authorization code flow and delegated permissions\n\n## Instructions\n\n### Permission Scope Matrix\n\nChoose the minimum scope required for your use case:\n\n| Scope | Read notebooks | Read pages | Create pages | Create notebooks | Admin consent? |\n|-------|:-:|:-:|:-:|:-:|:-:|\n| `Notes.Read` | Yes | Yes | No | No | No |\n| `Notes.ReadWrite` | Yes | Yes | Yes | Yes | No |\n| `Notes.ReadWrite.All` | Yes | Yes | Yes | Yes | **Yes** |\n| `Notes.Create` | No | No | Yes | Yes | No |\n\n**Least-privilege recommendations:**\n- Read-only dashboards: `Notes.Read` (user consent only)\n- Personal note creation: `Notes.ReadWrite` (user consent only)\n- Cross-user\u002Forganizational access: `Notes.ReadWrite.All` (requires tenant admin approval)\n- Write-only ingestion: `Notes.Create` (cannot read back what was written)\n\n### Delegated Authentication Setup (Post-2025 Mandatory)\n\n**CRITICAL:** App-only authentication (ClientSecretCredential) was deprecated for OneNote endpoints on March 31, 2025. All code below uses delegated auth exclusively.\n\n**Python — Device Code Flow (headless\u002FCLI environments):**\n\n```python\nfrom azure.identity import DeviceCodeCredential\nfrom msgraph import GraphServiceClient\nimport os\n\nCLIENT_ID = os.environ[\"AZURE_CLIENT_ID\"]\nTENANT_ID = os.environ[\"AZURE_TENANT_ID\"]\n\n# Minimal scopes — only request what you need\nscopes = [\"Notes.ReadWrite\"]\n\ncredential = DeviceCodeCredential(\n    client_id=CLIENT_ID,\n    tenant_id=TENANT_ID,\n    # cache_persistence_options enables silent token renewal\n)\nclient = GraphServiceClient(credentials=credential, scopes=scopes)\n```\n\n**TypeScript — Interactive Browser Flow (web apps):**\n\n```typescript\nimport { DeviceCodeCredential } from \"@azure\u002Fidentity\";\nimport { Client } from \"@microsoft\u002Fmicrosoft-graph-client\";\nimport { TokenCredentialAuthenticationProvider }\n  from \"@microsoft\u002Fmicrosoft-graph-client\u002FauthProviders\u002FazureTokenCredentials\";\n\nconst credential = new DeviceCodeCredential({\n  clientId: process.env.AZURE_CLIENT_ID!,\n  tenantId: process.env.AZURE_TENANT_ID!,\n});\n\nconst scopes = [\"Notes.ReadWrite\"];\nconst authProvider = new TokenCredentialAuthenticationProvider(credential, { scopes });\nconst client = Client.initWithMiddleware({ authProvider });\n```\n\n### Token Lifecycle Management\n\nAccess tokens expire after **1 hour**. Refresh tokens last **90 days** but can be revoked by admin policy. Your code must handle silent renewal:\n\n```python\n# Python: MSAL token cache serialization for persistent sessions\nimport msal\nimport json\nimport os\n\nCACHE_FILE = os.path.expanduser(\"~\u002F.onenote-token-cache.json\")\n\ndef get_msal_app():\n    cache = msal.SerializableTokenCache()\n    if os.path.exists(CACHE_FILE):\n        cache.deserialize(open(CACHE_FILE).read())\n\n    app = msal.PublicClientApplication(\n        client_id=os.environ[\"AZURE_CLIENT_ID\"],\n        authority=f\"https:\u002F\u002Flogin.microsoftonline.com\u002F{os.environ['AZURE_TENANT_ID']}\",\n        token_cache=cache,\n    )\n    return app, cache\n\ndef acquire_token(app, cache):\n    accounts = app.get_accounts()\n    if accounts:\n        # Silent renewal — no user interaction needed if refresh token valid\n        result = app.acquire_token_silent(\n            scopes=[\"https:\u002F\u002Fgraph.microsoft.com\u002FNotes.ReadWrite\"],\n            account=accounts[0],\n        )\n        if result and \"access_token\" in result:\n            save_cache(cache)\n            return result[\"access_token\"]\n\n    # Fallback: device code flow requires user interaction\n    flow = app.initiate_device_flow(\n        scopes=[\"https:\u002F\u002Fgraph.microsoft.com\u002FNotes.ReadWrite\"]\n    )\n    print(flow[\"message\"])  # \"Go to https:\u002F\u002Fmicrosoft.com\u002Fdevicelogin...\"\n    result = app.acquire_token_by_device_flow(flow)\n    save_cache(cache)\n    return result.get(\"access_token\")\n\ndef save_cache(cache):\n    if cache.has_state_changed:\n        with open(CACHE_FILE, \"w\") as f:\n            f.write(cache.serialize())\n        os.chmod(CACHE_FILE, 0o600)  # Owner-only read\u002Fwrite\n```\n\n### Secure Credential Storage\n\nNever store client IDs or tenant IDs in source code. Use environment variables at minimum, Azure Key Vault for production:\n\n```bash\n# Development: .env file (add to .gitignore FIRST)\necho \".env\" >> .gitignore\ncat > .env \u003C\u003C 'EOF'\nAZURE_CLIENT_ID=your-app-registration-client-id\nAZURE_TENANT_ID=your-directory-tenant-id\nEOF\nchmod 600 .env\n```\n\n```python\n# Production: Azure Key Vault integration\nfrom azure.keyvault.secrets import SecretClient\nfrom azure.identity import DefaultAzureCredential\n\nvault_url = \"https:\u002F\u002Fyour-vault.vault.azure.net\"\nkv_client = SecretClient(vault_url=vault_url, credential=DefaultAzureCredential())\n\nclient_id = kv_client.get_secret(\"onenote-client-id\").value\ntenant_id = kv_client.get_secret(\"onenote-tenant-id\").value\n```\n\n### Multi-Tenant Security Considerations\n\nFor apps serving multiple organizations:\n- Register as a multi-tenant app (set `supportedAccountTypes` to `AzureADMultipleOrgs`)\n- Validate the `tid` (tenant ID) claim in every token — reject tokens from unexpected tenants\n- Store per-tenant token caches separately (never mix tenant tokens)\n- Handle Conditional Access policies: catch `claims` challenge in 401 responses and re-authenticate with the required claims\n\n### Security Checklist for Production\n\n- [ ] Using delegated auth (NOT app-only\u002FClientSecretCredential — deprecated March 2025)\n- [ ] Minimum required scopes (Notes.Read unless writes needed)\n- [ ] Token cache file has 0600 permissions (owner-only)\n- [ ] MSAL cache serialized to disk for silent renewal\n- [ ] Client ID and tenant ID sourced from environment or Key Vault\n- [ ] .env file in .gitignore\n- [ ] Token claims validated (aud, tid, exp)\n- [ ] Refresh token rotation monitored (90-day expiry alert)\n- [ ] Admin consent obtained for Notes.ReadWrite.All (if needed)\n- [ ] Conditional Access error handling implemented\n\n## Output\n\nAfter applying this skill, your OneNote integration will have: least-privilege permission scoping matched to actual usage, persistent MSAL token cache with silent renewal, secure credential storage using environment variables or Key Vault, and a verified security checklist. Authentication failures will produce actionable error messages instead of silent 401 loops.\n\n## Error Handling\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `AADSTS65001: user needs to consent` | Scope not yet granted by user | Redirect to consent URL or use admin consent endpoint |\n| `AADSTS700016: app not found` | Wrong client ID or wrong tenant | Verify AZURE_CLIENT_ID matches portal registration |\n| `AADSTS50076: MFA required` | Conditional Access policy | Use InteractiveBrowserCredential (device code cannot handle MFA prompts) |\n| `403 Forbidden` on OneNote calls | Missing Notes.* permission or using app-only auth | Check scope in token; switch to delegated auth |\n| `401 Unauthorized` after working | Access token expired, silent renewal failed | Check refresh token validity; re-serialize cache |\n| Token cache file empty after restart | Cache not serialized on shutdown | Call `save_cache()` in atexit handler |\n\n## Examples\n\n**Verify your current token scopes:**\n\n```python\nimport requests\n\ndef check_token_scopes(access_token: str) -> list[str]:\n    \"\"\"Decode token to inspect granted scopes (without validation).\"\"\"\n    import base64, json\n    payload = access_token.split(\".\")[1]\n    payload += \"=\" * (4 - len(payload) % 4)  # pad base64\n    claims = json.loads(base64.urlsafe_b64decode(payload))\n    return claims.get(\"scp\", \"\").split(\" \")\n\n# Usage\nscopes = check_token_scopes(token)\nif \"Notes.ReadWrite\" not in scopes:\n    raise PermissionError(f\"Token only has: {scopes}. Need Notes.ReadWrite.\")\n```\n\n**Rotate to new credentials without downtime:**\n\n```bash\n# 1. Register new app in Azure portal\n# 2. Update Key Vault with new credentials\naz keyvault secret set --vault-name your-vault --name onenote-client-id --value NEW_CLIENT_ID\n# 3. Clear MSAL cache to force re-auth with new app\nrm ~\u002F.onenote-token-cache.json\n# 4. First request will trigger device code flow with new app\n```\n\n## Resources\n\n- [OneNote API Overview](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fgraph\u002Fapi\u002Fresources\u002Fonenote-api-overview)\n- [MSAL Python Documentation](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fentra\u002Fmsal\u002Fpython\u002F)\n- [Azure App Registration](https:\u002F\u002Fportal.azure.com\u002F#blade\u002FMicrosoft_AAD_RegisteredApps)\n- [OneNote Error Codes](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fgraph\u002Fonenote-error-codes)\n- [Graph API Reference](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fgraph\u002Fapi\u002Foverview)\n- [Known Issues](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fgraph\u002Fknown-issues)\n\n## Next Steps\n\n- Apply `onenote-prod-checklist` for full production readiness review\n- Use `onenote-reference-architecture` to understand API path differences across notebook locations\n- See `onenote-rate-limits` for throttling and Retry-After handling\n","# OneNote Security Basics\n\n## Overview\n\nOneNote Graph API security changed fundamentally on March 31, 2025, when Microsoft deprecated app-only authentication for OneNote endpoints. Every integration must now use delegated authentication through MSAL, which means real users must sign in — no more background service accounts with client secrets. This skill covers the full security surface: permission scoping, token lifecycle management, MSAL cache serialization, credential storage, and multi-tenant hardening. Get any of these wrong and your integration either breaks silently (expired tokens returning 401s) or over-provisions access (Notes.ReadWrite.All when Notes.Read suffices).\n\n## Prerequisites\n\n- Azure AD app registration with redirect URI configured at https:\u002F\u002Fportal.azure.com\u002F#blade\u002FMicrosoft_AAD_RegisteredApps\n- Microsoft 365 license (E3\u002FE5\u002FBusiness) with OneNote enabled\n- Python: `pip install msgraph-sdk azure-identity msal` or Node: `npm install @microsoft\u002Fmicrosoft-graph-client @azure\u002Fidentity @azure\u002Fmsal-node`\n- Understanding of OAuth 2.0 authorization code flow and delegated permissions\n\n## Instructions\n\n### Permission Scope Matrix\n\nChoose the minimum scope required for your use case:\n\n| Scope | Read notebooks | Read pages | Create pages | Create notebooks | Admin consent? |\n|-------|:-:|:-:|:-:|:-:|:-:|\n| `Notes.Read` | Yes | Yes | No | No | No |\n| `Notes.ReadWrite` | Yes | Yes | Yes | Yes | No |\n| `Notes.ReadWrite.All` | Yes | Yes | Yes | Yes | **Yes** |\n| `Notes.Create` | No | No | Yes | Yes | No |\n\n**Least-privilege recommendations:**\n- Read-only dashboards: `Notes.Read` (user consent only)\n- Personal note creation: `Notes.ReadWrite` (user consent only)\n- Cross-user\u002Forganizational access: `Notes.ReadWrite.All` (requires tenant admin approval)\n- Write-only ingestion: `Notes.Create` (cannot read back what was written)\n\n### Delegated Authentication Setup (Post-2025 Mandatory)\n\n**CRITICAL:** App-only authentication (ClientSecretCredential) was deprecated for OneNote endpoints on March 31, 2025. All code below uses delegated auth exclusively.\n\n**Python — Device Code Flow (headless\u002FCLI environments):**\n\n```python\nfrom azure.identity import DeviceCodeCredential\nfrom msgraph import GraphServiceClient\nimport os\n\nCLIENT_ID = os.environ[\"AZURE_CLIENT_ID\"]\nTENANT_ID = os.environ[\"AZURE_TENANT_ID\"]\n\n# Minimal scopes — only request what you need\nscopes = [\"Notes.ReadWrite\"]\n\ncredential = DeviceCodeCredential(\n    client_id=CLIENT_ID,\n    tenant_id=TENANT_ID,\n    # cache_persistence_options enables silent token renewal\n)\nclient = GraphServiceClient(credentials=credential, scopes=scopes)\n```\n\n**TypeScript — Interactive Browser Flow (web apps):**\n\n```typescript\nimport { DeviceCodeCredential } from \"@azure\u002Fidentity\";\nimport { Client } from \"@microsoft\u002Fmicrosoft-graph-client\";\nimport { TokenCredentialAuthenticationProvider }\n  from \"@microsoft\u002Fmicrosoft-graph-client\u002FauthProviders\u002FazureTokenCredentials\";\n\nconst credential = new DeviceCodeCredential({\n  clientId: process.env.AZURE_CLIENT_ID!,\n  tenantId: process.env.AZURE_TENANT_ID!,\n});\n\nconst scopes = [\"Notes.ReadWrite\"];\nconst authProvider = new TokenCredentialAuthenticationProvider(credential, { scopes });\nconst client = Client.initWithMiddleware({ authProvider });\n```\n\n### Token Lifecycle Management\n\nAccess tokens expire after **1 hour**. Refresh tokens last **90 days** but can be revoked by admin policy. Your code must handle silent renewal:\n\n```python\n# Python: MSAL token cache serialization for persistent sessions\nimport msal\nimport json\nimport os\n\nCACHE_FILE = os.path.expanduser(\"~\u002F.onenote-token-cache.json\")\n\ndef get_msal_app():\n    cache = msal.SerializableTokenCache()\n    if os.path.exists(CACHE_FILE):\n        cache.deserialize(open(CACHE_FILE).read())\n\n    app = msal.PublicClientApplication(\n        client_id=os.environ[\"AZURE_CLIENT_ID\"],\n        authority=f\"https:\u002F\u002Flogin.microsoftonline.com\u002F{os.environ['AZURE_TENANT_ID']}\",\n        token_cache=cache,\n    )\n    return app, cache\n\ndef acquire_token(app, cache):\n    accounts = app.get_accounts()\n    if accounts:\n        # Silent renewal — no user interaction needed if refresh token valid\n        result = app.acquire_token_silent(\n            scopes=[\"https:\u002F\u002Fgraph.microsoft.com\u002FNotes.ReadWrite\"],\n            account=accounts[0],\n        )\n        if result and \"access_token\" in result:\n            save_cache(cache)\n            return result[\"access_token\"]\n\n    # Fallback: device code flow requires user interaction\n    flow = app.initiate_device_flow(\n        scopes=[\"https:\u002F\u002Fgraph.microsoft.com\u002FNotes.ReadWrite\"]\n    )\n    print(flow[\"message\"])  # \"Go to https:\u002F\u002Fmicrosoft.com\u002Fdevicelogin...\"\n    result = app.acquire_token_by_device_flow(flow)\n    save_cache(cache)\n    return result.get(\"access_token\")\n\ndef save_cache(cache):\n    if cache.has_state_changed:\n        with open(CACHE_FILE, \"w\") as f:\n            f.write(cache.serialize())\n        os.chmod(CACHE_FILE, 0o600)  # Owner-only read\u002Fwrite\n```\n\n### Secure Credential Storage\n\nNever store client IDs or tenant IDs in source code. Use environment variables at minimum, Azure Key Vault for production:\n\n```bash\n# Development: .env file (add to .gitignore FIRST)\necho \".env\" >> .gitignore\ncat > .env \u003C\u003C 'EOF'\nAZURE_CLIENT_ID=your-app-registration-client-id\nAZURE_TENANT_ID=your-directory-tenant-id\nEOF\nchmod 600 .env\n```\n\n```python\n# Production: Azure Key Vault integration\nfrom azure.keyvault.secrets import SecretClient\nfrom azure.identity import DefaultAzureCredential\n\nvault_url = \"https:\u002F\u002Fyour-vault.vault.azure.net\"\nkv_client = SecretClient(vault_url=vault_url, credential=DefaultAzureCredential())\n\nclient_id = kv_client.get_secret(\"onenote-client-id\").value\ntenant_id = kv_client.get_secret(\"onenote-tenant-id\").value\n```\n\n### Multi-Tenant Security Considerations\n\nFor apps serving multiple organizations:\n- Register as a multi-tenant app (set `supportedAccountTypes` to `AzureADMultipleOrgs`)\n- Validate the `tid` (tenant ID) claim in every token — reject tokens from unexpected tenants\n- Store per-tenant token caches separately (never mix tenant tokens)\n- Handle Conditional Access policies: catch `claims` challenge in 401 responses and re-authenticate with the required claims\n\n### Security Checklist for Production\n\n- [ ] Using delegated auth (NOT app-only\u002FClientSecretCredential — deprecated March 2025)\n- [ ] Minimum required scopes (Notes.Read unless writes needed)\n- [ ] Token cache file has 0600 permissions (owner-only)\n- [ ] MSAL cache serialized to disk for silent renewal\n- [ ] Client ID and tenant ID sourced from environment or Key Vault\n- [ ] .env file in .gitignore\n- [ ] Token claims validated (aud, tid, exp)\n- [ ] Refresh token rotation monitored (90-day expiry alert)\n- [ ] Admin consent obtained for Notes.ReadWrite.All (if needed)\n- [ ] Conditional Access error handling implemented\n\n## Output\n\nAfter applying this skill, your OneNote integration will have: least-privilege permission scoping matched to actual usage, persistent MSAL token cache with silent renewal, secure credential storage using environment variables or Key Vault, and a verified security checklist. Authentication failures will produce actionable error messages instead of silent 401 loops.\n\n## Error Handling\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `AADSTS65001: user needs to consent` | Scope not yet granted by user | Redirect to consent URL or use admin consent endpoint |\n| `AADSTS700016: app not found` | Wrong client ID or wrong tenant | Verify AZURE_CLIENT_ID matches portal registration |\n| `AADSTS50076: MFA required` | Conditional Access policy | Use InteractiveBrowserCredential (device code cannot handle MFA prompts) |\n| `403 Forbidden` on OneNote calls | Missing Notes.* permission or using app-only auth | Check scope in token; switch to delegated auth |\n| `401 Unauthorized` after working | Access token expired, silent renewal failed | Check refresh token validity; re-serialize cache |\n| Token cache file empty after restart | Cache not serialized on shutdown | Call `save_cache()` in atexit handler |\n\n## Examples\n\n**Verify your current token scopes:**\n\n```python\nimport requests\n\ndef check_token_scopes(access_token: str) -> list[str]:\n    \"\"\"Decode token to inspect granted scopes (without validation).\"\"\"\n    import base64, json\n    payload = access_token.split(\".\")[1]\n    payload += \"=\" * (4 - len(payload) % 4)  # pad base64\n    claims = json.loads(base64.urlsafe_b64decode(payload))\n    return claims.get(\"scp\", \"\").split(\" \")\n\n# Usage\nscopes = check_token_scopes(token)\nif \"Notes.ReadWrite\" not in scopes:\n    raise PermissionError(f\"Token only has: {scopes}. Need Notes.ReadWrite.\")\n```\n\n**Rotate to new credentials without downtime:**\n\n```bash\n# 1. Register new app in Azure portal\n# 2. Update Key Vault with new credentials\naz keyvault secret set --vault-name your-vault --name onenote-client-id --value NEW_CLIENT_ID\n# 3. Clear MSAL cache to force re-auth with new app\nrm ~\u002F.onenote-token-cache.json\n# 4. First request will trigger device code flow with new app\n```\n\n## Resources\n\n- [OneNote API Overview](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fgraph\u002Fapi\u002Fresources\u002Fonenote-api-overview)\n- [MSAL Python Documentation](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fentra\u002Fmsal\u002Fpython\u002F)\n- [Azure App Registration](https:\u002F\u002Fportal.azure.com\u002F#blade\u002FMicrosoft_AAD_RegisteredApps)\n- [OneNote Error Codes](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fgraph\u002Fonenote-error-codes)\n- [Graph API Reference](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fgraph\u002Fapi\u002Foverview)\n- [Known Issues](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fgraph\u002Fknown-issues)\n\n## Next Steps\n\n- Apply `onenote-prod-checklist` for full production readiness review\n- Use `onenote-reference-architecture` to understand API path differences across notebook locations\n- See `onenote-rate-limits` for throttling and Retry-After handling\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","onenote","microsoft","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement secure authentication, token management, and permission scoping for OneNote Graph API.\nUse when hardening OneNote integrations, implementing least-privilege permissions, or managing token lifecycle.\nTrigger with \"onenote security\", \"onenote permissions\", \"onenote token management\", \"onenote least privilege\".\n","Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--onenote-pack--onenote-security-basics",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill onenote-security-basics",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill onenote-security-basics",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill onenote-security-basics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--onenote-pack--onenote-security-basics\u002FSKILL.md",true,[],[57,64,71,78,85,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]