Run a trace against Azure SQL Managed Instance using Windows Authentication for Microsoft Entra principals - Azure SQL Managed Instance (2024)

  • Article

This article shows how to connect and run a trace against Azure SQL Managed Instance using Windows Authentication for principals in Microsoft Entra ID (formerly Azure Active Directory). Windows authentication provides a convenient way for customers to connect to a managed instance, especially for database administrators and developers who are accustomed to launching SQL Server Management Studio (SSMS) with their Windows credentials.

This article shares two options to run a trace against a managed instance: you can trace with extended events or with SQL Server Profiler. While SQL Server Profiler may still be used, the trace functionality used by SQL Server Profiler is deprecated and will be removed in a future version of Microsoft SQL Server.

Prerequisites

To use Windows Authentication to connect to and run a trace against a managed instance, you must first meet the following prerequisites:

If you have not yet enabled Windows authentication for Microsoft Entra principals against your managed instance, you may run a trace against a managed instance using a Microsoft Entra authentication option, including:

  • Password offers authentication with Microsoft Entra credentials
  • Universal with MFA adds multifactor authentication
  • Integrated uses federation providers like Active Directory Federation Services (ADFS) to enable single sign-on (SSO) experiences
  • Service Principal enables authentication from Azure applications
  • Managed Identity enables authentication from applications assigned Microsoft Entra identities

Run a trace with extended events

To run a trace with extended events against a managed instance using Windows Authentication, you will first connect Object Explorer to your managed instance using Windows Authentication.

  1. Launch SQL Server Management Studio from a client machine where you have logged in using Windows Authentication.

  2. The 'Connect to Server' dialog box should automatically appear. If it does not, ensure that Object Explorer is open and select Connect.

  3. Enter the name of your managed instance as the Server name. The name of your managed instance should be in a format similar to managedinstancename.12a34b5c67ce.database.windows.net.

  4. After Authentication, select Windows Authentication.

    Run a trace against Azure SQL Managed Instance using Windows Authentication for Microsoft Entra principals - Azure SQL Managed Instance (1)

  5. Select Connect.

Now that Object Explorer is connected, you can create and run an extended events trace. Follow the steps in Quick Start: Extended events in SQL Server to learn how to create, test, and display the results of an extended events session.

Run a trace with Profiler

To run a trace with SQL Server Profiler against a managed instance using Windows Authentication, launch the Profiler application. Profiler may be run from the Windows Start menu or from SQL Server Management Studio.

  1. On the File menu, select New Trace.

  2. Enter the name of your managed instance as the Server name. The name of your managed instance should be in a format similar to managedinstancename.12a34b5c67ce.database.windows.net.

  3. After Authentication, select Windows Authentication.

    Run a trace against Azure SQL Managed Instance using Windows Authentication for Microsoft Entra principals - Azure SQL Managed Instance (2)

  4. Select Connect.

  5. Follow the steps in Create a Trace (SQL Server Profiler) to configure the trace.

  6. Select Run after configuring the trace.

Next steps

Learn more about Windows Authentication for Microsoft Entra principals with Azure SQL Managed Instance:

Run a trace against Azure SQL Managed Instance using Windows Authentication for Microsoft Entra principals - Azure SQL Managed Instance (2024)
Top Articles
Dutch people eat more healthy foods: more plant products, less red and processed meat
1-hour trend tracking strategy based on RSI and dual moving averages
Zabor Funeral Home Inc
Wordscapes Level 6030
Crocodile Tears - Quest
Plus Portals Stscg
Arrests reported by Yuba County Sheriff
Bloxburg Image Ids
Cube Combination Wiki Roblox
Craigslist Heavy Equipment Knoxville Tennessee
Scholarships | New Mexico State University
Cooking Fever Wiki
Evil Dead Rise Showtimes Near Regal Columbiana Grande
Jc Post News
I Wanna Dance with Somebody : séances à Paris et en Île-de-France - L'Officiel des spectacles
Available Training - Acadis® Portal
Powerball winning numbers for Saturday, Sept. 14. Check tickets for $152 million drawing
Convert 2024.33 Usd
Inter-Tech IM-2 Expander/SAMA IM01 Pro
ELT Concourse Delta: preparing for Module Two
Mychart Anmed Health Login
라이키 유출
Hannaford To-Go: Grocery Curbside Pickup
Bethel Eportal
Valic Eremit
Stihl Dealer Albuquerque
How do you get noble pursuit?
Mini-Mental State Examination (MMSE) – Strokengine
Taylored Services Hardeeville Sc
897 W Valley Blvd
Ugly Daughter From Grown Ups
Productos para el Cuidado del Cabello Después de un Alisado: Tips y Consejos
Wake County Court Records | NorthCarolinaCourtRecords.us
Capital Hall 6 Base Layout
Edict Of Force Poe
Craigslist Boats Eugene Oregon
Jewish Federation Of Greater Rochester
Snohomish Hairmasters
Muziq Najm
Wsbtv Fish And Game Report
Htb Forums
Puretalkusa.com/Amac
Vocabulary Workshop Level B Unit 13 Choosing The Right Word
Miami Vice turns 40: A look back at the iconic series
Best GoMovies Alternatives
Yourcuteelena
Ucla Basketball Bruinzone
Reli Stocktwits
Osrs Vorkath Combat Achievements
Strange World Showtimes Near Century Federal Way
OSF OnCall Urgent Care treats minor illnesses and injuries
The Ultimate Guide To 5 Movierulz. Com: Exploring The World Of Online Movies
Latest Posts
Article information

Author: Moshe Kshlerin

Last Updated:

Views: 6416

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Moshe Kshlerin

Birthday: 1994-01-25

Address: Suite 609 315 Lupita Unions, Ronnieburgh, MI 62697

Phone: +2424755286529

Job: District Education Designer

Hobby: Yoga, Gunsmithing, Singing, 3D printing, Nordic skating, Soapmaking, Juggling

Introduction: My name is Moshe Kshlerin, I am a gleaming, attractive, outstanding, pleasant, delightful, outstanding, famous person who loves writing and wants to share my knowledge and understanding with you.