<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>b3g</author_name>
  <author_url>https://blog.hatena.ne.jp/b3g/</author_url>
  <blog_title>身の回り4畳半近辺の日記</blog_title>
  <blog_url>https://b3g.hatenablog.com/</blog_url>
  <categories>
    <anon>PC</anon>
  </categories>
  <description>Azure上でWindows 11クライアントをリモートデスクトップ用に運用してて、課金を減らすため使用後、シャットダウンで割り当て解除、Deallocateの状態にする方法についてChat GPTと相談してできるようになりました。 まずはVMの設定で、VMからAzureの状態を操作できるように権限を付与します。AzureポータルのVMのIDで、システム割り当てをオンの状態にして保存。次にアクセス制御IMAで、ロールの割り当てを追加で仮想マシン共同作成者のロールを追加。割当先は現在のVMになります。 つぎにVMのWindowsのPowerShellからAzure操作のコマンドを実行するためAz…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fb3g.hatenablog.com%2Fentry%2F2026%2F06%2F30%2F213005&quot; title=&quot;Azure VMのWindowsをシャットダウンしたとき自動的に割り当て解除する - 身の回り4畳半近辺の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-30 21:30:05</published>
  <title>Azure VMのWindowsをシャットダウンしたとき自動的に割り当て解除する</title>
  <type>rich</type>
  <url>https://b3g.hatenablog.com/entry/2026/06/30/213005</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
