---
title: "Get"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames"
tags: ["SmtpUsernames"]
---

# Get

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Get all SmtpUsernameResources for a Communication resource.

## Path parameters

- `communicationServiceName` string, required

## Parameters

- `../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter` (unresolved $ref)
- `../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter` (unresolved $ref)
- `../../../../../common-types/resource-management/v6/types.json#/components/parameters/ResourceGroupNameParameter` (unresolved $ref)

## Response `200`

Azure operation completed successfully.

- SmtpUsernameResourceCollection: Collection of SmtpUsername resources. Response will include a nextLink if response contains more pages.
  - `value` SmtpUsernameResource[], required: The SmtpUsernameResource items on this page (unresolved $ref)
  - `nextLink` string, uri: The link to the next page of items

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/azure-communication-services-management-api.md) - [All operations](https://skmtc.dev/azure/apis/azure-communication-services-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/azure-communication-services-management-api/revisions/e6c2b8feaddf?raw)
