21 Oct’15

Azure and Office 365Creation of ACS and SAS in Azure

ACS is an Azure service that provides an easy way to authenticate users to access web applications and services without having to add complex authentication logic to code. While SAS is used to access resources in storage account which includes both primary and secondary keys.


Azure Account should be added in PowerShell with respective User’s Credentials.

Note: For Adding account In Microsoft Azure PowerShell refer to following link:


Steps in Microsoft Azure PowerShell for ACS


Step 1: Write ACS Command in PowerShell

ACS Key can be created using Azure PowerShell following command,

New-AzureSBNamespace GravityDocument -Location “Southeast Asia” -CreateACSNamespace $true -NamespaceType Messaging

Command requires Service Bus Namespace Name, Location and Messaging type.



Step 2: ACS Information on Azure Portal

This ACS Key information can be seen on Microsoft Azure Account with that corresponding service bus namespace provided in the command above.



Once the Namespace is created the corresponding Connection Information is available at the bottom under Connection Information.


Steps in Microsoft Azure for SAS

Here for SAS Key we have created Queue inside the namespace.

Step 1: Creation of Queue

Now Queue can be created inside this specified Namespace, for that follow the below screenshots




Specify the required details i.e. the Queue name under the specified namespace.



Step 2: Key with Permissions

Now since the queue is created SAS key can also be generated with different permissions like Manage, Listen & Send.

So under Configure option, under Shared Access Policies specify the name and permission to be given for that particular queue.



Now SAS key for that particular queue can be obtained from Connection Information of Queue with SAS key.




Thus, we can Create ACS and SAS requests as per requirements using Microsoft Azure PowerShell and Azure Portal.

Written by

Team Member


Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Managing mailbox through Email Archiving

    20 March’ 2018

    Introduction: Email can fill your Outlook Inbox quickly – new messages, replies, and forwards. Before you know it, yo...

    Read more
  • Workaround to Report.SAVEASPDF in NAV 2018

    20 March’ 2018

    Objective: In NAV 2017 Emailing the PDF by running the report using Report.SAVEASPDF is now not allowed in NAV 2018. Th...

    Read more
  • Dynamics 365 Client Diagnostics

    15 March’ 2018

    Main cause of Performance Issues: Bandwidth and latency are the primary characteristics which affects the performance o...

    Read more
  • Closing Blind Shift in MPOS and CPOS in Dynamics 365 for Retail

    15 March’ 2018

    Manual For closing Blind shift in POS: Blind shifts terminate the currently ongoing shift and when logged in a new shif...

    Read more
  • Persistent Filters in the Power BI Service

    13 March’ 2018

    Introduction: The feature is finally release, and it is power BI has announced general availability of persistent filt...

    Read more