---
title: "Discussion on \"How to connect (and stay connected) to Azure SQL Database using managed identities in Node.js - Part 2: Testing connection & handling token expiration\" | Hashnode"
description: "Discussion on \"How to connect (and stay connected) to Azure SQL Database using managed identities in Node.js - Part 2: Testing connection & handling token expiration\". Quick recap\nIn How to connect (and stay connected) to Azure SQL Database using managed identities in Node.js - Part 1: Initial Setup, I walked through how you can configure your Node.js web app to authenticate and connect to an Azure SQL database usi..."
url: "https://hashnode.com/posts/azure-sql-node-managed-id-part2/62915359d97f80b5091d836c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to connect (and stay connected) to Azure SQL Database using managed identities in Node.js - Part 2: Testing connection & handling token expiration](https://richardcarrigan.hashnode.dev/azure-sql-node-managed-id-part2?utm_source=hashnode&utm_medium=feed)

Quick recap In How to connect (and stay connected) to Azure SQL Database using managed identities in Node.js - Part 1: Initial Setup, I walked through how you can configure your Node.js web app to authenticate and connect to an Azure SQL database usi...

May 27, 2022 · 7 min read · richardcarrigan.hashnode.dev  
Read the article

-   [#azure](https://hashnode.com/tag/azure)
-   [#sql](https://hashnode.com/tag/sql)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Richard Carrigan](https://hashnode.com/@richardcarrigan)

@richardcarrigan · Washington, US

  
[View profile](https://hashnode.com/@richardcarrigan)

MCT Alum | Azure Administrator | Full-Stack Developer | DevOps Enthusiast | Technical Problem-Solver

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
