0

I would like to list roleAssignments for group from Intune Education that we set up a few school/groups. And I got an answer to use Azure API to list roleAssignments. (SO question)

To use those APIs, it requires subscriptionId but I couldn't find it for Intune anywhere. Where can I find it?

dongseok0
  • 737
  • 2
  • 7
  • 18

1 Answers1

0

You could find the subscriptionId in the Azure portal or by using Azure PowerShell.

For the Azure PowerShell, you could use the cmd "Login-AzureRmAccount" and provide your Azure credentials (email address and password).

When you are logged in, all information of your default subscription will be shown and you can find your Subscription ID in the SubscriptionId field.

When you have more than one subscription you can find the Subscription ID of a specific Subscription by typing "Get-AzureRmSubscription". This command will list all of your subscriptions, with details like the SubscriptionId, which are associated with the logged in account.

SunnySun
  • 1,900
  • 1
  • 6
  • 8