I use a MacBook Pro for my day to day and personal work and use Azure Data Studio as my SQL Server development and scripting tool. Working across multiple domains can be a challenge while working on a Mac and here are some simple steps I use often.

Azure Data Studio Windows authentication requires a Kerberos ticket in order to authenticate. When selecting a connection, you might get prompted to update your Kerberos ticket and ADS will immediately focus your to the terminal for a simple command.

Using kinit to change Windows Authentication Domain Target


kinit carlos@myDomain.com
carlos@myDomain.com password: ***********

This simple command will change the scope of your Windows Authentication. Next time you try to connect to a server on that domain, you will be prompted again to refresh you ticket. Refreshing your ticket normally happens once after changing context.

Leave a comment