Skip to content

Commit 1197107

Browse files
committed
adding additional ref links
1 parent 8d78efb commit 1197107

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/storage/common/storage-auth-aad-script.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ The following example shows how to create a container in a new storage account f
4040
az login
4141
```
4242
43-
1. Next, set your subscription, then create a resource group and a storage account within that resource group:
43+
1. Specify your desired subscription. Create a resource group using [az group create](https://docs.microsoft.com/cli/azure/group?view=azure-cli-latest#az-group-create). Create a storage account within that resource group using [az storage account create](https://docs.microsoft.com/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-create):
4444
4545
```azurecli
4646
az account set --subscription <subscription-id>
47+
4748
az group create \
4849
--name sample-resource-group-cli \
4950
--location eastus
@@ -103,7 +104,7 @@ The following example shows how to create a container in a new storage account f
103104
-Location $location `
104105
```
105106
106-
1. Get the storage account context that specifies the new storage account. When acting on a storage account, you can reference the context instead of repeatedly passing in the credentials. Include the `-UseConnectedAccount` parameter to call subsequent data operations using your Azure AD credentials.
107+
1. Get the storage account context that specifies the new storage account by calling [New-AzStorageContext](/powershell/module/az.storage/new-azstoragecontext). When acting on a storage account, you can reference the context instead of repeatedly passing in the credentials. Include the `-UseConnectedAccount` parameter to call any subsequent data operations using your Azure AD credentials:
107108
108109
```powershell
109110
$ctx = New-AzStorageContext -StorageAccountName "<storage-account>" -UseConnectedAccount
@@ -114,16 +115,15 @@ The following example shows how to create a container in a new storage account f
114115
> [!IMPORTANT]
115116
> During the preview of Azure AD support for blobs and queues, RBAC role assignments may take up to 5 minutes to propagate.
116117
117-
1. Create a container. Because this call uses the context created in the previous steps, the container is created using your Azure AD credentials.
118+
1. Create a container by calling [New-AzStorageContainer](/powershell/module/az.storage/new-azstoragecontainer). Because this call uses the context created in the previous steps, the container is created using your Azure AD credentials.
118119
119120
```powershell
120121
$containerName = "sample-container"
121-
new-AzStorageContainer -Name $containerName -Context $ctx
122+
New-AzStorageContainer -Name $containerName -Context $ctx
122123
```
123124
124125
## Next steps
125126
126127
- To learn more about RBAC roles for Azure storage, see [Manage access rights to storage data with RBAC (Preview)](storage-auth-aad-rbac.md).
127128
- To learn about using managed identities for Azure resources with Azure Storage, see [Authenticate access to blobs and queues with Azure managed identities for Azure Resources (Preview)](storage-auth-aad-msi.md).
128-
- To learn how to authorize access to containers and queues from within your storage applications, see [Use Azure AD with storage applications](storage-auth-aad-app.md).
129-
- For additional information about Azure AD integration for Azure Blobs and Queues, see the Azure Storage team blog post, [Announcing the Preview of Azure AD Authentication for Azure Storage](https://azure.microsoft.com/blog/announcing-the-preview-of-aad-authentication-for-storage/).
129+
- To learn how to authorize access to containers and queues from within your storage applications, see [Use Azure AD with storage applications](storage-auth-aad-app.md).

0 commit comments

Comments
 (0)