mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Add Microsoft Entra ID Service Principal authentication support for Azure OpenAI plugin #778
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Nov1c444 on GitHub (Nov 6, 2025).
Originally assigned to: @Nov1c444 on GitHub.
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
The Azure OpenAI plugin currently only supports API Key authentication, which requires storing sensitive keys in the configuration. Microsoft Entra ID (Azure AD) Service Principal authentication provides a more secure approach by using Application (Client) ID, Directory (Tenant) ID, and Client Secret for identity management. This enhancement would enable enterprise users to leverage Azure's role-based access control (RBAC) and centralized identity management, allowing each workspace to use different credentials without relying on shared API keys.
2. Additional context or comments
https://learn.microsoft.com/en-us/azure/ai-foundry/foundry-models/how-to/configure-entra-id?tabs=python&pivots=ai-foundry-portal
3. Can you help us with this feature?