Home > Get Started > Enable Backup for Cosmos DB > Add a Custom Role Using Azure Portal, CLI, or PowerShell

    Download this article
    お知らせ: このページは現在英語のみで提供されています。日本語版は準備中です。ご不便をおかけして申し訳ございません。

    Add a Custom Role Using Azure Portal, CLI, or PowerShell

    Follow the steps below to add a custom role for the app that you want to use to protect Azure Virtual Machines, Azure Storage and Azure SQL databases:

    1. Download the template from this link: Custom_Role_Template.zip.

    2. In the extracted folder, open the file that you want to use to add the custom role.

    3. Find the entry “AssignableScopes”:[“/subscriptions/#SubscriptionID#”] and replace #SubscriptionID# with your subscription ID.

    4. For examples of creating a custom role using the Azure Portal, CLI, or PowerShell, refer to Azure custom roles.