microsoft

Emulate Microsoft Entra ID OAuth 2.0 and OpenID Connect locally.

1.5k|108|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/vercel-labs/emulate --skill microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: microsoft
Source: https://github.com/vercel-labs/emulate/tree/main/skills/microsoft
Command: npx skills add https://github.com/vercel-labs/emulate --skill microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a local development and testing environment for Microsoft services, allowing users to simulate Microsoft OAuth and OpenID Connect without hitting real Microsoft APIs.

Core Features & Use Cases

  • Local Microsoft Authentication: Simulate Microsoft login locally.
  • OIDC Discovery: Emulate Entra ID OIDC discovery.
  • Token Exchange: Handle Microsoft token exchange.
  • OAuth Clients: Configure Azure AD OAuth clients.
  • Microsoft Graph API: Work with the Microsoft Graph /v1.0/me endpoint.
  • Use Case: Develop applications that use Microsoft OAuth/OIDC for authentication without the need for internet connectivity or external services.

Quick Start

Start the Microsoft emulator with the following command: npx emulate --service microsoft.

Frequently Asked Questions about microsoft

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test Microsoft Entra ID OAuth 2.0 authentication locally?

You can test Microsoft Entra ID OAuth 2.0 locally by running an emulator that simulates the authorization code flow, PKCE, and client credentials without hitting real Microsoft APIs.

Can I simulate the Microsoft Graph API /v1.0/me endpoint for local development?

Yes, you can simulate the Microsoft Graph API /v1.0/me endpoint locally to develop and test applications that rely on Microsoft user data without external network connectivity.

What is the best way to test OpenID Connect discovery and RS256 ID tokens offline?

The best way to test OpenID Connect discovery and RS256 ID tokens offline is using a local Microsoft service emulator that handles OIDC discovery and token generation.

How do I configure Azure AD OAuth clients for local testing?

You can configure Azure AD OAuth clients for local testing by utilizing an emulator environment that handles Microsoft token exchange and client configuration.

Does local Microsoft authentication work without internet connectivity?

Yes, local Microsoft authentication works without internet connectivity by emulating the Microsoft login process and OpenID Connect flows entirely on your local machine.

Why use a local emulator for Microsoft OAuth instead of real Azure AD services?

Use a local emulator for Microsoft OAuth to avoid restrictions from real Microsoft APIs, enabling seamless development and testing of authentication flows without external dependencies.