olOpsLyft Docs

Azure

Connect your Azure subscriptions to OpsLyft optimization.

Contents

Introduction

OpsLyft reads resource configuration, tags and Azure Monitor metrics on a regular schedule. It is read-only and never reads application data (disks, blobs, database rows, logs).

You register OpsLyft's application (service principal) in your tenant and grant it a custom role (*/read, blob data excluded), on the subscriptions you list or on your root management group.

Values

NameValue
OpsLyft application ID01e5a9c2-d25f-4468-9875-12789b94ef71
Suggested role nameOpsLyftFetchUsageMetricsRole

Choose your path

OpsLyft does not have access to your tenant yet: follow New integration with OpsLyft. OpsLyft already has access and you want to check or update it: follow Existing integration with OpsLyft.

Each path has two variants: specific subscriptions, or the root management group (all current and future subscriptions).

Integration Steps

New integration with OpsLyft

Specific subscriptions

Root management group

Existing integration with OpsLyft

Checks what is already in your tenant and brings it up to date. Nothing is removed. If no role is found, follow New integration with OpsLyft.

Check current integration state

Update: specific subscriptions

Update: root management group

Update the role permissions later

Set up your terminal

Share with us

Send OpsLyft these values. Send only the rows that apply to you:

FieldWhat to sendHow to get it
Path followedNew integration with OpsLyft or Existing integration with OpsLyftEnter manually
Tenant IDYour tenant (directory) IDRun echo "$TENANT_ID"
Application IDThe application you grantedListed in Values
Subscription IDsThe subscriptions you granted (specific subscriptions)Run echo "${SUBSCRIPTIONS[@]}"
Root management group IDOnly for the root management group variantRun echo "$ROOT_MANAGEMENT_GROUP_ID"

When something changes later, send an update to the same table.

Reference commands

Troubleshooting

Remove access

On this page