1. Registry
  2. Packages
  3. Dex Provider
  4. API Docs
  5. resources
  6. AzureMicrosoftConnector
Viewing docs for Dex v0.8.0
published on Thursday, Feb 19, 2026 by Kotaicode GmbH
Dex
Viewing docs for Dex v0.8.0
published on Thursday, Feb 19, 2026 by Kotaicode GmbH

    Manages an Azure AD/Entra ID connector in Dex using the Microsoft-specific connector (type: microsoft). This connector provides Microsoft-specific features like group filtering and domain restrictions.

    Create AzureMicrosoftConnector Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AzureMicrosoftConnector(name: string, args: AzureMicrosoftConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def AzureMicrosoftConnector(resource_name: str,
                                args: AzureMicrosoftConnectorArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def AzureMicrosoftConnector(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                client_id: Optional[str] = None,
                                client_secret: Optional[str] = None,
                                connector_id: Optional[str] = None,
                                name: Optional[str] = None,
                                redirect_uri: Optional[str] = None,
                                tenant: Optional[str] = None,
                                groups: Optional[str] = None)
    func NewAzureMicrosoftConnector(ctx *Context, name string, args AzureMicrosoftConnectorArgs, opts ...ResourceOption) (*AzureMicrosoftConnector, error)
    public AzureMicrosoftConnector(string name, AzureMicrosoftConnectorArgs args, CustomResourceOptions? opts = null)
    public AzureMicrosoftConnector(String name, AzureMicrosoftConnectorArgs args)
    public AzureMicrosoftConnector(String name, AzureMicrosoftConnectorArgs args, CustomResourceOptions options)
    
    type: dex:resources:AzureMicrosoftConnector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dex_resources_azure_microsoft_connector" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AzureMicrosoftConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AzureMicrosoftConnectorArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AzureMicrosoftConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AzureMicrosoftConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AzureMicrosoftConnectorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var azureMicrosoftConnectorResource = new Dex.Resources.AzureMicrosoftConnector("azureMicrosoftConnectorResource", new()
    {
        ClientId = "string",
        ClientSecret = "string",
        ConnectorId = "string",
        Name = "string",
        RedirectUri = "string",
        Tenant = "string",
        Groups = "string",
    });
    
    example, err := resources.NewAzureMicrosoftConnector(ctx, "azureMicrosoftConnectorResource", &resources.AzureMicrosoftConnectorArgs{
    	ClientId:     pulumi.String("string"),
    	ClientSecret: pulumi.String("string"),
    	ConnectorId:  pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	RedirectUri:  pulumi.String("string"),
    	Tenant:       pulumi.String("string"),
    	Groups:       pulumi.String("string"),
    })
    
    resource "dex_resources_azure_microsoft_connector" "azureMicrosoftConnectorResource" {
      lifecycle {
        create_before_destroy = true
      }
      client_id     = "string"
      client_secret = "string"
      connector_id  = "string"
      name          = "string"
      redirect_uri  = "string"
      tenant        = "string"
      groups        = "string"
    }
    
    var azureMicrosoftConnectorResource = new AzureMicrosoftConnector("azureMicrosoftConnectorResource", AzureMicrosoftConnectorArgs.builder()
        .clientId("string")
        .clientSecret("string")
        .connectorId("string")
        .name("string")
        .redirectUri("string")
        .tenant("string")
        .groups("string")
        .build());
    
    azure_microsoft_connector_resource = dex.resources.AzureMicrosoftConnector("azureMicrosoftConnectorResource",
        client_id="string",
        client_secret="string",
        connector_id="string",
        name="string",
        redirect_uri="string",
        tenant="string",
        groups="string")
    
    const azureMicrosoftConnectorResource = new dex.resources.AzureMicrosoftConnector("azureMicrosoftConnectorResource", {
        clientId: "string",
        clientSecret: "string",
        connectorId: "string",
        name: "string",
        redirectUri: "string",
        tenant: "string",
        groups: "string",
    });
    
    type: dex:resources:AzureMicrosoftConnector
    properties:
        clientId: string
        clientSecret: string
        connectorId: string
        groups: string
        name: string
        redirectUri: string
        tenant: string
    

    AzureMicrosoftConnector Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AzureMicrosoftConnector resource accepts the following input properties:

    ClientId string
    Azure AD application (client) ID.
    ClientSecret string
    Azure AD application client secret.
    ConnectorId string
    Unique identifier for the Azure Microsoft connector.
    Name string
    Human-readable name for the connector, displayed to users during login.
    RedirectUri string
    Redirect URI registered in Azure AD. Must match Dex's callback URL.
    Tenant string
    Azure AD tenant identifier. Can be 'common' (any Azure AD account), 'organizations' (any organizational account), or a specific tenant ID (UUID format).
    Groups string
    Name of the claim that contains group memberships (e.g., 'groups'). Used for group-based access control.
    ClientId string
    Azure AD application (client) ID.
    ClientSecret string
    Azure AD application client secret.
    ConnectorId string
    Unique identifier for the Azure Microsoft connector.
    Name string
    Human-readable name for the connector, displayed to users during login.
    RedirectUri string
    Redirect URI registered in Azure AD. Must match Dex's callback URL.
    Tenant string
    Azure AD tenant identifier. Can be 'common' (any Azure AD account), 'organizations' (any organizational account), or a specific tenant ID (UUID format).
    Groups string
    Name of the claim that contains group memberships (e.g., 'groups'). Used for group-based access control.
    client_id string
    Azure AD application (client) ID.
    client_secret string
    Azure AD application client secret.
    connector_id string
    Unique identifier for the Azure Microsoft connector.
    name string
    Human-readable name for the connector, displayed to users during login.
    redirect_uri string
    Redirect URI registered in Azure AD. Must match Dex's callback URL.
    tenant string
    Azure AD tenant identifier. Can be 'common' (any Azure AD account), 'organizations' (any organizational account), or a specific tenant ID (UUID format).
    groups string
    Name of the claim that contains group memberships (e.g., 'groups'). Used for group-based access control.
    clientId String
    Azure AD application (client) ID.
    clientSecret String
    Azure AD application client secret.
    connectorId String
    Unique identifier for the Azure Microsoft connector.
    name String
    Human-readable name for the connector, displayed to users during login.
    redirectUri String
    Redirect URI registered in Azure AD. Must match Dex's callback URL.
    tenant String
    Azure AD tenant identifier. Can be 'common' (any Azure AD account), 'organizations' (any organizational account), or a specific tenant ID (UUID format).
    groups String
    Name of the claim that contains group memberships (e.g., 'groups'). Used for group-based access control.
    clientId string
    Azure AD application (client) ID.
    clientSecret string
    Azure AD application client secret.
    connectorId string
    Unique identifier for the Azure Microsoft connector.
    name string
    Human-readable name for the connector, displayed to users during login.
    redirectUri string
    Redirect URI registered in Azure AD. Must match Dex's callback URL.
    tenant string
    Azure AD tenant identifier. Can be 'common' (any Azure AD account), 'organizations' (any organizational account), or a specific tenant ID (UUID format).
    groups string
    Name of the claim that contains group memberships (e.g., 'groups'). Used for group-based access control.
    client_id str
    Azure AD application (client) ID.
    client_secret str
    Azure AD application client secret.
    connector_id str
    Unique identifier for the Azure Microsoft connector.
    name str
    Human-readable name for the connector, displayed to users during login.
    redirect_uri str
    Redirect URI registered in Azure AD. Must match Dex's callback URL.
    tenant str
    Azure AD tenant identifier. Can be 'common' (any Azure AD account), 'organizations' (any organizational account), or a specific tenant ID (UUID format).
    groups str
    Name of the claim that contains group memberships (e.g., 'groups'). Used for group-based access control.
    clientId String
    Azure AD application (client) ID.
    clientSecret String
    Azure AD application client secret.
    connectorId String
    Unique identifier for the Azure Microsoft connector.
    name String
    Human-readable name for the connector, displayed to users during login.
    redirectUri String
    Redirect URI registered in Azure AD. Must match Dex's callback URL.
    tenant String
    Azure AD tenant identifier. Can be 'common' (any Azure AD account), 'organizations' (any organizational account), or a specific tenant ID (UUID format).
    groups String
    Name of the claim that contains group memberships (e.g., 'groups'). Used for group-based access control.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AzureMicrosoftConnector resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AzureMicrosoftConnector Resource

    Get an existing AzureMicrosoftConnector resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): AzureMicrosoftConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> AzureMicrosoftConnector
    func GetAzureMicrosoftConnector(ctx *Context, name string, id IDInput, state *AzureMicrosoftConnectorState, opts ...ResourceOption) (*AzureMicrosoftConnector, error)
    public static AzureMicrosoftConnector Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static AzureMicrosoftConnector get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingAzureMicrosoftConnector:    type: dex:resources:AzureMicrosoftConnector    get:      id: ${id}
    import {
      to = dex_resources_azure_microsoft_connector.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state AzureMicrosoftConnectorState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Package Details

    Repository
    dex kotaicode/pulumi-dex
    License
    Dex
    Viewing docs for Dex v0.8.0
    published on Thursday, Feb 19, 2026 by Kotaicode GmbH

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial