Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The serviceGroupMember resource type can be deployed with operations that target:
- Tenant - See tenant deployment commands* Management groups - See management group deployment commands* Subscription - See subscription deployment commands* Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Relationships/serviceGroupMember resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Relationships/serviceGroupMember@2026-08-01' = {
scope: resourceSymbolicName or scope
name: 'string'
properties: {
sourceId: 'string'
sourceTenant: 'string'
}
}
Property Values
Microsoft.Relationships/serviceGroupMember
| Name | Description | Value |
|---|---|---|
| name | The resource name | string (required) |
| properties | The resource-specific properties for this resource. | ServiceGroupMemberRelationshipPropertiesV2 |
| scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
ServiceGroupMemberRelationshipPropertiesV2
| Name | Description | Value |
|---|---|---|
| sourceId | The relationship source resource id. Must be a service group. | string (required) |
| sourceTenant | The relationship source tenant id. | string |
ARM template resource definition
The serviceGroupMember resource type can be deployed with operations that target:
- Tenant - See tenant deployment commands* Management groups - See management group deployment commands* Subscription - See subscription deployment commands* Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.Relationships/serviceGroupMember resource, add the following JSON to your template.
{
"type": "Microsoft.Relationships/serviceGroupMember",
"apiVersion": "2026-08-01",
"name": "string",
"properties": {
"sourceId": "string",
"sourceTenant": "string"
}
}
Property Values
Microsoft.Relationships/serviceGroupMember
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-08-01' |
| name | The resource name | string (required) |
| properties | The resource-specific properties for this resource. | ServiceGroupMemberRelationshipPropertiesV2 |
| type | The resource type | 'Microsoft.Relationships/serviceGroupMember' |
ServiceGroupMemberRelationshipPropertiesV2
| Name | Description | Value |
|---|---|---|
| sourceId | The relationship source resource id. Must be a service group. | string (required) |
| sourceTenant | The relationship source tenant id. | string |
Terraform (AzAPI provider) resource definition
The serviceGroupMember resource type can be deployed with operations that target:
- Tenant* Management groups* Subscription* Resource groups For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Relationships/serviceGroupMember resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Relationships/serviceGroupMember@2026-08-01"
name = "string"
parent_id = "string"
body = {
properties = {
sourceId = "string"
sourceTenant = "string"
}
}
}
Property Values
Microsoft.Relationships/serviceGroupMember
| Name | Description | Value |
|---|---|---|
| name | The resource name | string (required) |
| parent_id | The ID of the resource to apply this extension resource to. | string (required) |
| properties | The resource-specific properties for this resource. | ServiceGroupMemberRelationshipPropertiesV2 |
| type | The resource type | "Microsoft.Relationships/serviceGroupMember@2026-08-01" |
ServiceGroupMemberRelationshipPropertiesV2
| Name | Description | Value |
|---|---|---|
| sourceId | The relationship source resource id. Must be a service group. | string (required) |
| sourceTenant | The relationship source tenant id. | string |