none
Problem with office365_consent.ps1 RRS feed

  • Question

  • Hello team,

    I'm trying to implement this tutorial here : Office 365 management solution in Azure

    I followed all the steps until the "admin consent" part. I runned the script with the correct parameters

    I get the errors  :  Select-AzSubscription : Please provide a valid tenant or a valid subscription. 

    When i tried to troubleshoot using command shuch as Get-Variable SubscriptionId or echo $SubscriptionId , it tells me that the subscription doesnt exist.

    I also experienced differents behaviors if I launched the script using command line or if i'm using PowerShell ISE.

    I'm already using my subscription and workspace for my Azure Information Protection log analytics and it works like a charm

    Thanks for your help,

    Alex
    Thursday, March 14, 2019 4:52 PM