Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.18 KB

File metadata and controls

41 lines (29 loc) · 1.18 KB
title description author ms.author ms.date ms.service ms.topic ms.custom
Enable demo mode
How to enable demo mode
alexwolfmsft
alexwolf
11/19/2024
azure-dev-cli
how-to
devx-track-azdevcli

Enable Azure Developer CLI demo mode

By default, some Azure Developer CLI commands display Azure subscription IDs in the console output. This behavior is useful during development to monitor deployments and template behavior. However, azd also includes a demo mode to hide Azure subscription IDs for scenarios such as public presentations that use azd commands, screen sharing with other users, or any other situation where you want to keep your subscription IDs hidden.

Enable demo mode

Demo mode behavior is based on the environment variable: AZD_DEMO_MODE. To enable demo mode, run:

export AZD_DEMO_MODE true

To persist demo mode across reboots, you can also run:

setx AZD_DEMO_MODE true
$env:AZD_DEMO_MODE="true"

Note

After setting the AZD_DEMO_MODE environment variables, you may need to close and reopen your terminal window to reload the variable and apply the changes.