Azure AD Only Authentications - Create
Create or Update Azure Active Directory only authentication property
Create or Update a Azure Active Directory only authentication property for the workspaces
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications/default?api-version=2021-06-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
azure
|
path | True |
name of the property |
|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
|
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
|
workspace
|
path | True |
string |
The name of the workspace. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Request Body
| Name | Required | Type | Description |
|---|---|---|---|
| properties.azureADOnlyAuthentication | True |
boolean |
Azure Active Directory only Authentication enabled. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
|
| 201 Created |
Created |
|
| 202 Accepted |
Accepted |
|
| Other Status Codes |
Examples
Create or Update Azure Active Directory Only Authentication property
Sample request
PUT https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default?api-version=2021-06-01
{
"properties": {
"azureADOnlyAuthentication": true
}
}
Sample response
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default",
"name": "default",
"type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications",
"properties": {
"azureADOnlyAuthentication": true,
"creationDate": "2017-02-10T00:56:19.2Z",
"state": "Consistent"
}
}
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default",
"name": "default",
"type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications",
"properties": {
"azureADOnlyAuthentication": true,
"creationDate": "2017-02-10T00:56:19.2Z",
"state": "Updating"
}
}
Definitions
| Name | Description |
|---|---|
|
Azure |
Azure Active Directory Only Authentication Info |
|
Azure |
name of the property |
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
| state value |
property configuration state |
AzureADOnlyAuthentication
Azure Active Directory Only Authentication Info
| Name | Type | Description |
|---|---|---|
| id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| name |
string |
The name of the resource |
| properties.azureADOnlyAuthentication |
boolean |
Azure Active Directory only Authentication enabled. |
| properties.creationDate |
string (date-time) |
property configuration date |
| properties.state |
property configuration state |
|
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
AzureADOnlyAuthenticationName
name of the property
| Value | Description |
|---|---|
| default |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
state value
property configuration state
| Value | Description |
|---|---|
| Consistent | |
| InConsistent | |
| Updating |