Configure Microsoft Office 365 for AI agent imports
To import AI agents from Microsoft Office 365, you need to register an app in your Microsoft Azure Portal. Then you generate a client secret and assign permissions to the app.
Note:
Your tenant needs at least one Microsoft Agent 365 license in order to import AI agents into Okta.
Register an app in the Microsoft Azure Portal
- Sign in to the Microsoft Azure Portal.
- Open Azure Active Directory .
- Select App registrations from the side panel.
- Click New registration.
- Enter
Okta-AI-Agent-Importas the app name. - Select Accounts in this organizational directory only (Single tenant) as the supported account type.
- Leave the Redirect URI fields blank.
- Click Register.
- On the Overview page, copy the Application (client) ID and Directory (tenant) ID values and store them somewhere safely.
Generate a client secret
- Open the app that you created in the previous section.
- Select Certificates & secrets from the side panel.
- Go to the Client secrets tab and click New client secret.
- Enter
Okta AI Agent Importin the Description field. - Set the expiry to 90 days.
- Click Add.
- On the Client secrets tab, copy the Value and store it somewhere safely.
Add permissions
- Select API permissions from the side panel.
- Click Add a permission.
- Select Microsoft Graph from the Microsoft APIs tab.
- Select Application permissions.
- Search for and select the CopilotPackages.Read.All permission.
- Click Add permissions.
- On the Permissions page, click Grant admin consent for [permissions].