ref="#get-all-of-the-drives" title="Permanent link">&para;</a></h2>
<p>Using the drives() you can get the users available drives from Onedrive</p>
<div class="codehilite"><pre><span></span><span class="kr">import</span> <span class="p">{</span> <span class="nx">graph</span> <span class="p">}</span> <span class="nx">from</span> <span class="s2">&quot;@pnp/graph&quot;</span><span class="p">;</span>

<span class="kr">const</span> <span class="nx">drives</span> <span class="o">=</span> <span class="nx">await</s