> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jinba.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft OAuth Credentials

Configure Microsoft OAuth to access Microsoft services such as Outlook Calendar from your Jinba Flow workflows.

## Prerequisites

* A Microsoft account

## Setting Up in Jinba Flow

1. Go to your workspace settings in Jinba Flow
2. Navigate to the "Secret" section
3. Find the Microsoft OAuth credential in the list of available credentials
4. Click "Configure" or "Add New"
5. Follow the authentication flow:
   * Sign in with your Microsoft account
   * Review and accept the requested permissions
   * You'll be redirected back to Jinba Flow
   * Your OAuth tokens will be securely stored

## OAuth Flow

When you first use Microsoft-connected tools in your flows:

1. Jinba Flow redirects you to Microsoft's OAuth consent screen
2. Sign in with your Microsoft account
3. Review and accept the requested permissions
4. You'll be redirected back to Jinba Flow
5. Your OAuth tokens will be securely stored

## Available Microsoft Services

### Outlook Calendar

* Create events
* Find events
* Update events
* Delete events

### Outlook Mail

* This credential family is intended to support Microsoft mail-related tools as they are documented and enabled

## Secret Usage in Flows

Outlook Calendar examples use the following secret reference:

```yaml theme={null}
config:
  - name: token
    value: "{{secrets.MICROSOFT_GRAPH_OUTLOOK_CALENDAR}}"
```

## Related Pages

* [Outlook Calendar](/en/pages/tools/productivity/outlook_calendar)
* [Productivity Tools](/en/pages/credentials/productivity-tools)

## Troubleshooting

* If authentication fails, reconnect the credential from the Jinba secrets dashboard
* If your organization restricts Microsoft app consent, ask your administrator to approve the requested access
* If a flow reports an invalid or expired token, re-authenticate the credential and run the flow again
