Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If I understand it correct, It might be due subscription context. to In case of multiple Subscription, its necessary to change default context of Subscription in your power-shell for which you are trying to perform operation . </p> <h2>Example : Two : subscriptionA and subscriptionB</h2> <ol> <li>Execute : Get-AzureSubscription</li> <li>Make sure you see all (2 in this case) subscriptions</li> <li>Use 'Select-AzureSubscription command to select context to the subscription where you want to perform operation .</li> <li>Use Set-AzureSubscription to set right context PS C:> Set-AzureSubscription -SubscriptionName SubscriptionA -CurrentStorageAccount &lt; YourStorageaccountName> </li> <li>Run this to Verify that right Subscription is set : PS C:> Get-AzureSubscription -Current</li> <li>Perform your operation . </li> <li>Now go back to step 3 with SubscrptionB and continue. </li> </ol> <p>-----------------This Might help to change the context ------------</p> <p>Select-AzureSubscription</p> <pre><code>PS C:\&gt; Select-AzureSubscription -SubscriptionName SubscriptionA PS C:\&gt; </code></pre> <p>Set-AzureSubscription</p> <pre><code>PS C:\&gt; Set-AzureSubscription -SubscriptionName SubscriptionA -CurrentStorageAccount &lt;YourStorageaccountName&gt; PS C:\&gt; </code></pre> <p>Remove-AzureSubscription</p> <pre><code>PS C:\&gt; Remove-AzureSubscription -SubscriptionName SubscriptionA -Force WARNING: The default subscription is being removed. Use Select-Subscription &lt;subscriptionName&gt; to select a new default subscription. WARNING: The current subscription is being removed. Use Select-Subscription &lt;subscriptionName&gt; to select a new current subscription. </code></pre> <hr>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload