Setup an App Registration, Enterprise Application and appropriate permissions for an OAuth application.
Getting an error about admin consent?
- Go the the Entra portal https://entra.microsoft.com/
- Navigate to the App Registration -> API permissions -> Grant Admin Consent
You need the Cloud Application Administrator role on your Entra tenet.
Name | Version |
---|---|
azuread | >= 2.52.0 |
Name | Version |
---|---|
azuread | >= 2.52.0 |
No modules.
Name | Type |
---|---|
azuread_application_api_access.msgraph | resource |
azuread_application_password.main | resource |
azuread_application_redirect_uris.main | resource |
azuread_application_registration.main | resource |
azuread_service_principal.main | resource |
azuread_application_published_app_ids.well_known | data source |
azuread_client_config.current | data source |
azuread_service_principal.msgraph | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
app_role_assignment_required | If true, internal users are required to be assigned to this app | bool |
true |
no |
app_visible | If true, the Enterprise Application will be visible to users in My Apps and Office 365 Launcher | bool |
false |
no |
name | Name of the Application in EntraID | string |
n/a | yes |
redirect_uri | Where the application sends the user after authorization. Also called reply URL. | string |
n/a | yes |
Name | Description |
---|---|
entraid_application_password | EntraID Client Secret |
entraid_application_registration_id | EntraID Client ID |
entraid_tenet_id | EntraID Tenet ID |
oidc_issuer | OIDC Issuer URL |