1. Packages
  2. Azure Active Directory (Azure AD)
  3. API Docs
  4. ApplicationIdentifierUri
Azure Active Directory (Azure AD) v6.4.0 published on Monday, Apr 7, 2025 by Pulumi

azuread.ApplicationIdentifierUri

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";

const example = new azuread.ApplicationRegistration("example", {displayName: "example"});
const exampleApplicationIdentifierUri = new azuread.ApplicationIdentifierUri("example", {
    applicationId: example.id,
    identifierUri: "https://app.example.com",
});
Copy
import pulumi
import pulumi_azuread as azuread

example = azuread.ApplicationRegistration("example", display_name="example")
example_application_identifier_uri = azuread.ApplicationIdentifierUri("example",
    application_id=example.id,
    identifier_uri="https://app.example.com")
Copy
package main

import (
	"github.com/pulumi/pulumi-azuread/sdk/v6/go/azuread"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuread.NewApplicationRegistration(ctx, "example", &azuread.ApplicationRegistrationArgs{
			DisplayName: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = azuread.NewApplicationIdentifierUri(ctx, "example", &azuread.ApplicationIdentifierUriArgs{
			ApplicationId: example.ID(),
			IdentifierUri: pulumi.String("https://app.example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureAD = Pulumi.AzureAD;

return await Deployment.RunAsync(() => 
{
    var example = new AzureAD.ApplicationRegistration("example", new()
    {
        DisplayName = "example",
    });

    var exampleApplicationIdentifierUri = new AzureAD.ApplicationIdentifierUri("example", new()
    {
        ApplicationId = example.Id,
        IdentifierUri = "https://app.example.com",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuread.ApplicationRegistration;
import com.pulumi.azuread.ApplicationRegistrationArgs;
import com.pulumi.azuread.ApplicationIdentifierUri;
import com.pulumi.azuread.ApplicationIdentifierUriArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ApplicationRegistration("example", ApplicationRegistrationArgs.builder()
            .displayName("example")
            .build());

        var exampleApplicationIdentifierUri = new ApplicationIdentifierUri("exampleApplicationIdentifierUri", ApplicationIdentifierUriArgs.builder()
            .applicationId(example.id())
            .identifierUri("https://app.example.com")
            .build());

    }
}
Copy
resources:
  example:
    type: azuread:ApplicationRegistration
    properties:
      displayName: example
  exampleApplicationIdentifierUri:
    type: azuread:ApplicationIdentifierUri
    name: example
    properties:
      applicationId: ${example.id}
      identifierUri: https://app.example.com
Copy

Tip For managing multiple identifier URIs for the same application, create another instance of this resource

Usage with azuread.Application resource

import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";

const example = new azuread.Application("example", {displayName: "example"});
const exampleApplicationIdentifierUri = new azuread.ApplicationIdentifierUri("example", {applicationId: example.id});
Copy
import pulumi
import pulumi_azuread as azuread

example = azuread.Application("example", display_name="example")
example_application_identifier_uri = azuread.ApplicationIdentifierUri("example", application_id=example.id)
Copy
package main

import (
	"github.com/pulumi/pulumi-azuread/sdk/v6/go/azuread"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuread.NewApplication(ctx, "example", &azuread.ApplicationArgs{
			DisplayName: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = azuread.NewApplicationIdentifierUri(ctx, "example", &azuread.ApplicationIdentifierUriArgs{
			ApplicationId: example.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureAD = Pulumi.AzureAD;

return await Deployment.RunAsync(() => 
{
    var example = new AzureAD.Application("example", new()
    {
        DisplayName = "example",
    });

    var exampleApplicationIdentifierUri = new AzureAD.ApplicationIdentifierUri("example", new()
    {
        ApplicationId = example.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuread.Application;
import com.pulumi.azuread.ApplicationArgs;
import com.pulumi.azuread.ApplicationIdentifierUri;
import com.pulumi.azuread.ApplicationIdentifierUriArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new Application("example", ApplicationArgs.builder()
            .displayName("example")
            .build());

        var exampleApplicationIdentifierUri = new ApplicationIdentifierUri("exampleApplicationIdentifierUri", ApplicationIdentifierUriArgs.builder()
            .applicationId(example.id())
            .build());

    }
}
Copy
resources:
  example:
    type: azuread:Application
    properties:
      displayName: example
  exampleApplicationIdentifierUri:
    type: azuread:ApplicationIdentifierUri
    name: example
    properties:
      applicationId: ${example.id}
Copy

Create ApplicationIdentifierUri Resource

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

Constructor syntax

new ApplicationIdentifierUri(name: string, args: ApplicationIdentifierUriArgs, opts?: CustomResourceOptions);
@overload
def ApplicationIdentifierUri(resource_name: str,
                             args: ApplicationIdentifierUriArgs,
                             opts: Optional[ResourceOptions] = None)

@overload
def ApplicationIdentifierUri(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             application_id: Optional[str] = None,
                             identifier_uri: Optional[str] = None)
func NewApplicationIdentifierUri(ctx *Context, name string, args ApplicationIdentifierUriArgs, opts ...ResourceOption) (*ApplicationIdentifierUri, error)
public ApplicationIdentifierUri(string name, ApplicationIdentifierUriArgs args, CustomResourceOptions? opts = null)
public ApplicationIdentifierUri(String name, ApplicationIdentifierUriArgs args)
public ApplicationIdentifierUri(String name, ApplicationIdentifierUriArgs args, CustomResourceOptions options)
type: azuread:ApplicationIdentifierUri
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApplicationIdentifierUriArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApplicationIdentifierUriArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationIdentifierUriArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationIdentifierUriArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApplicationIdentifierUriArgs
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 applicationIdentifierUriResource = new AzureAD.ApplicationIdentifierUri("applicationIdentifierUriResource", new()
{
    ApplicationId = "string",
    IdentifierUri = "string",
});
Copy
example, err := azuread.NewApplicationIdentifierUri(ctx, "applicationIdentifierUriResource", &azuread.ApplicationIdentifierUriArgs{
	ApplicationId: pulumi.String("string"),
	IdentifierUri: pulumi.String("string"),
})
Copy
var applicationIdentifierUriResource = new ApplicationIdentifierUri("applicationIdentifierUriResource", ApplicationIdentifierUriArgs.builder()
    .applicationId("string")
    .identifierUri("string")
    .build());
Copy
application_identifier_uri_resource = azuread.ApplicationIdentifierUri("applicationIdentifierUriResource",
    application_id="string",
    identifier_uri="string")
Copy
const applicationIdentifierUriResource = new azuread.ApplicationIdentifierUri("applicationIdentifierUriResource", {
    applicationId: "string",
    identifierUri: "string",
});
Copy
type: azuread:ApplicationIdentifierUri
properties:
    applicationId: string
    identifierUri: string
Copy

ApplicationIdentifierUri 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 ApplicationIdentifierUri resource accepts the following input properties:

ApplicationId
This property is required.
Changes to this property will trigger replacement.
string
The resource ID of the application registration. Changing this forces a new resource to be created.
IdentifierUri
This property is required.
Changes to this property will trigger replacement.
string
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
ApplicationId
This property is required.
Changes to this property will trigger replacement.
string
The resource ID of the application registration. Changing this forces a new resource to be created.
IdentifierUri
This property is required.
Changes to this property will trigger replacement.
string
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
applicationId
This property is required.
Changes to this property will trigger replacement.
String
The resource ID of the application registration. Changing this forces a new resource to be created.
identifierUri
This property is required.
Changes to this property will trigger replacement.
String
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
applicationId
This property is required.
Changes to this property will trigger replacement.
string
The resource ID of the application registration. Changing this forces a new resource to be created.
identifierUri
This property is required.
Changes to this property will trigger replacement.
string
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
application_id
This property is required.
Changes to this property will trigger replacement.
str
The resource ID of the application registration. Changing this forces a new resource to be created.
identifier_uri
This property is required.
Changes to this property will trigger replacement.
str
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
applicationId
This property is required.
Changes to this property will trigger replacement.
String
The resource ID of the application registration. Changing this forces a new resource to be created.
identifierUri
This property is required.
Changes to this property will trigger replacement.
String
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the ApplicationIdentifierUri 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 str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ApplicationIdentifierUri Resource

Get an existing ApplicationIdentifierUri 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>, state?: ApplicationIdentifierUriState, opts?: CustomResourceOptions): ApplicationIdentifierUri
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        application_id: Optional[str] = None,
        identifier_uri: Optional[str] = None) -> ApplicationIdentifierUri
func GetApplicationIdentifierUri(ctx *Context, name string, id IDInput, state *ApplicationIdentifierUriState, opts ...ResourceOption) (*ApplicationIdentifierUri, error)
public static ApplicationIdentifierUri Get(string name, Input<string> id, ApplicationIdentifierUriState? state, CustomResourceOptions? opts = null)
public static ApplicationIdentifierUri get(String name, Output<String> id, ApplicationIdentifierUriState state, CustomResourceOptions options)
resources:  _:    type: azuread:ApplicationIdentifierUri    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ApplicationId Changes to this property will trigger replacement. string
The resource ID of the application registration. Changing this forces a new resource to be created.
IdentifierUri Changes to this property will trigger replacement. string
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
ApplicationId Changes to this property will trigger replacement. string
The resource ID of the application registration. Changing this forces a new resource to be created.
IdentifierUri Changes to this property will trigger replacement. string
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
applicationId Changes to this property will trigger replacement. String
The resource ID of the application registration. Changing this forces a new resource to be created.
identifierUri Changes to this property will trigger replacement. String
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
applicationId Changes to this property will trigger replacement. string
The resource ID of the application registration. Changing this forces a new resource to be created.
identifierUri Changes to this property will trigger replacement. string
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
application_id Changes to this property will trigger replacement. str
The resource ID of the application registration. Changing this forces a new resource to be created.
identifier_uri Changes to this property will trigger replacement. str
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
applicationId Changes to this property will trigger replacement. String
The resource ID of the application registration. Changing this forces a new resource to be created.
identifierUri Changes to this property will trigger replacement. String
The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.

Import

Application Identifier URIs can be imported using the object ID of the application and the base64-encoded identifier URI, in the following format.

$ pulumi import azuread:index/applicationIdentifierUri:ApplicationIdentifierUri example /applications/00000000-0000-0000-0000-000000000000/identifierUris/aHR0cHM6Ly9leGFtcGxlLm5ldC8=
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Active Directory (Azure AD) pulumi/pulumi-azuread
License
Apache-2.0
Notes
This Pulumi package is based on the azuread Terraform Provider.