Edit

Get-AzConfluentAccessServiceAccount

This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus.

Organization service accounts details

Syntax

ListExpanded (Default)

Get-AzConfluentAccessServiceAccount
    -OrganizationName <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-SearchFilter <Hashtable>]
    [-DefaultProfile <PSObject>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

List

Get-AzConfluentAccessServiceAccount
    -OrganizationName <String>
    -ResourceGroupName <String>
    -Body <IListAccessRequestModel>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ListViaJsonFilePath

Get-AzConfluentAccessServiceAccount
    -OrganizationName <String>
    -ResourceGroupName <String>
    -JsonFilePath <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ListViaJsonString

Get-AzConfluentAccessServiceAccount
    -OrganizationName <String>
    -ResourceGroupName <String>
    -JsonString <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Organization service accounts details

Examples

Example 1: List all Service accounts under an Organization in the resource group

Get-AzConfluentAccessServiceAccount -OrganizationName sharedrp-scus-org -ResourceGroupName sharedrp-confluent
Data              : {{
                      "metadata": {
                        "self": "https://api.example.confluent.io/iam/v2/service-accounts/sa-examplesa02",
                        "resource_name": "crn://example.confluent.io/service-account=sa-examplesa02",
                        "created_at": "2025-11-24T04:19:14.474519+00:00",
                        "updated_at": "2025-11-24T04:19:14.474519+00:00"
                      },
                      "kind": "ServiceAccount",
                      "id": "sa-examplesa02",
                      "display_name": "serAccPGS",
                      "description": "Service account for connector snkConn24110948"
                    }, {
                      "metadata": {
                        "self": "https://api.example.confluent.io/iam/v2/service-accounts/sa-examplesa04",
                        "resource_name": "crn://example.confluent.io/service-account=sa-examplesa04",
                        "created_at": "2025-12-22T13:46:18.382565+00:00",
                        "updated_at": "2025-12-22T13:46:18.382565+00:00"
                      },
                      "kind": "ServiceAccount",
                      "id": "sa-examplesa04",
                      "display_name": "serAccPGS19152212",
                      "description": "Service account for connector srcConnTestSA1915"
                    }, {
                      "metadata": {
                        "self": "https://api.example.confluent.io/iam/v2/service-accounts/sa-examplesa01",
                        "resource_name": "crn://example.confluent.io/service-account=sa-examplesa01",
                        "created_at": "2025-12-22T13:47:06.072554+00:00",
                        "updated_at": "2025-12-22T13:47:06.072554+00:00"
                      },
                      "kind": "ServiceAccount",
                      "id": "sa-examplesa01",
                      "display_name": "serAccPGS19172212",
                      "description": "Service account for connector snkConnTestSA1917"
                    }, {
                      "metadata": {
                        "self": "https://api.example.confluent.io/iam/v2/service-accounts/sa-examplesa03",
                        "resource_name": "crn://example.confluent.io/service-account=sa-examplesa03",
                        "created_at": "2026-01-06T06:46:27.431436+00:00",
                        "updated_at": "2026-01-06T06:46:27.431436+00:00"
                      },
                      "kind": "ServiceAccount",
                      "id": "sa-examplesa03",
                      "display_name": "serAccPGS12160601",
                      "description": "Service account for connector snk1215"
                    }…}
Kind              : ServiceAccountList
MetadataFirst     :
MetadataLast      :
MetadataNext      :
MetadataPrev      :
MetadataTotalSize : 0

This command lists all Servie accounts under a organization and resource group

Parameters

-Body

List Access Request Model

Parameter properties

Type:Microsoft.Azure.PowerShell.Cmdlets.confluent.Models.IListAccessRequestModel
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

List
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-JsonFilePath

Path of Json file supplied to the List operation

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ListViaJsonFilePath
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-JsonString

Json string supplied to the List operation

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ListViaJsonString
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-OrganizationName

Organization resource name

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SearchFilter

Search filters for the request

Parameter properties

Type:Hashtable
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ListExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription. The value must be an UUID.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Azure.PowerShell.Cmdlets.confluent.Models.IListAccessRequestModel

Outputs

Microsoft.Azure.PowerShell.Cmdlets.confluent.Models.IAccessListServiceAccountsSuccessResponse