Prerequisites
- A Microsoft account
Setting Up in Jinba Flow
- Go to your workspace settings in Jinba Flow
- Navigate to the “Secret” section
- Find the Microsoft OAuth credential in the list of available credentials
- Click “Configure” or “Add New”
- 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:- Jinba Flow redirects you to Microsoft’s OAuth consent screen
- 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
Available Microsoft Services
Outlook Calendar
- Create events
- Find events
- Update events
- Delete events
Outlook Mail
- List messages and send messages (
OUTLOOK_LIST_MESSAGES,OUTLOOK_SEND_MESSAGE), with a secret of typeMICROSOFT_GRAPH_OUTLOOK
SharePoint
- List sites and documents, search, download and upload files (
SHAREPOINT_*tools), with a secret of typeMICROSOFT_GRAPH_SHAREPOINT
Teams
- List teams, channels, chats and messages, send and reply to messages, and read online meetings (
TEAMS_*tools), with a secret of typeMICROSOFT_GRAPH_TEAMS
User Directory
- Look up users and their managers (
MICROSOFT_GET_USERS,MICROSOFT_GET_MANAGER), with a secret of typeMICROSOFT_GRAPH_USERS
MICROSOFT_GRAPH_OUTLOOK_CALENDAR.
Organization Admin Consent
Some Microsoft 365 tenants do not let users consent to applications themselves. In that case the Microsoft sign-in stops at Need admin approval, and a tenant administrator has to grant consent once for the whole organization. Jinba Flow generates that consent link for you, scoped to the connector you are setting up (Outlook Mail, Outlook Calendar, SharePoint, Teams or User Directory). Administrators can therefore approve exactly the connectors your organization wants to use, and nothing more. Granting consent in the Entra admin center through the application’s Grant admin consent button is not required and does not cover these permissions.- In the Jinba secrets dashboard, choose the Microsoft connector you want to connect.
- Under Organization admin consent, click Copy admin consent link and send the link to a tenant administrator. The link stays valid for 7 days. If you are an administrator yourself, click Open as admin instead.
- The administrator opens the link, signs in and accepts the permissions on behalf of the organization.
- Everyone in the tenant can now connect that connector from the secrets dashboard without further approval.
Secret Usage in Flows
Outlook Calendar examples use the following secret reference:Related Pages
Troubleshooting
- If authentication fails, reconnect the credential from the Jinba secrets dashboard
- If your organization restricts Microsoft app consent, send your administrator the link described in Organization Admin Consent
- If a flow reports an invalid or expired token, re-authenticate the credential and run the flow again