<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How To Connect To Microsoft Graph API Using PowerShell	</title>
	<atom:link href="https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Wed, 18 Oct 2023 00:17:36 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Dark Lurker		</title>
		<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-16772</link>

		<dc:creator><![CDATA[Dark Lurker]]></dc:creator>
		<pubDate>Tue, 15 Aug 2023 20:13:04 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2553#comment-16772</guid>

					<description><![CDATA[Thanks, this is helpful for those of us who are migrating away from the MSOnline module for managing users.  Looking back, I never realized that Connect-MSOLService was sooooo easy compared to all this Graph stuff.  MS definitely isn&#039;t making it easy for those of us who are just simple O365 admins needing to add users and assign licenses, and not full-time coders.]]></description>
			<content:encoded><![CDATA[<p>Thanks, this is helpful for those of us who are migrating away from the MSOnline module for managing users.  Looking back, I never realized that Connect-MSOLService was sooooo easy compared to all this Graph stuff.  MS definitely isn&#8217;t making it easy for those of us who are just simple O365 admins needing to add users and assign licenses, and not full-time coders.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Manu		</title>
		<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-15050</link>

		<dc:creator><![CDATA[Manu]]></dc:creator>
		<pubDate>Thu, 20 Jul 2023 12:18:06 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2553#comment-15050</guid>

					<description><![CDATA[Thanks a lot, I need you help, suddenly it stopped working for me. It is throwing below error to me. 

Connect-Mggraph -AccessToken $MsalToken.AccessToken
Connect-MgGraph : Cannot bind parameter &#039;AccessToken&#039;. Cannot convert the &quot;eyJ0eXAiOiJKV1QiLCJub25jZSI6InVQOHVlNEl6c0ln
V1d6dGFNcWVRR2UwU3d6MHBlU0IzaWMwU01yOXYzWEkiLCJhbGciOiJSUzI1NiIsIng1dCI6Ii1LSTNROW5OUjdiUm9meG1lWm9YcWJIWkdldyIsImtpZCI
6Ii1LSTNROW5OUjdiUm9meG1lWm9YcWJIWkdldyJ9.eyJhdWQiOiJodHRwczovL2dyYXBoLm1pY3Jvc29mdC5jb20iLCJpc3MiOiJodHRwczovL3N0cy53a
W5kb3dzLm5ldC9lZGY0NDJmNS1iOTk0LTRjODYtYTEzMS1iNDJiMDNhMTZjOTUvIiwiaWF0IjoxNjg5ODU1MDg3LCJuYmYiOjE2ODk4NTUwODcsImV4cCI6
MTY4OTg1ODk4NywiYWlvIjoiRTJaZ1lKZ3N1RFZVWG8vVG9PVmUzVE8rM3dwSkFBPT0iLCJhcHBfZGlzcGxheW5hbWUiOiJDbG91ZExBUFMgLSBUTSIsImF
wcGlkIjoiMjMzYTQ5M2YtNzg0YS00ZTdlLTljMzItZGUxNDViNDdmNTNjIiwiYXBwaWRhY3IiOiIxIiwiaWRwIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZX
QvZWRmNDQyZjUtYjk5NC00Yzg2LWExMzEtYjQyYjAzYTE2Yzk1LyIsImlkdHlwIjoiYXBwIiwib2lkIjoiNTY4ZDY4MDctZTM1ZS00ZDA4LWI0OWMtYzIxM
DJlNWY1NWU5IiwicmgiOiIwLkFROEE5VUwwN1pTNWhreWhNYlFyQTZGc2xRTUFBQUFBQUFBQXdBQUFBQUFBQUFBUEFBQS4iLCJzdWIiOiI1NjhkNjgwNy1l
MzVlLTRkMDgtYjQ5Yy1jMjEwMmU1ZjU1ZTkiLCJ0ZW5hbnRfcmVnaW9uX3Njb3BlIjoiQVMiLCJ0aWQiOiJlZGY0NDJmNS1iOTk0LTRjODYtYTEzMS1iNDJ
iMDNhMTZjOTUiLCJ1dGkiOiJYd1ltM1B5RDEwR1BVaHdYY0RsOUFBIiwidmVyIjoiMS4wIiwid2lkcyI6WyIwOTk3YTFkMC0wZDFkLTRhY2ItYjQwOC1kNW
NhNzMxMjFlOTAiXSwieG1zX3RjZHQiOjE0MTQ1ODgxNzB9.k2Zf7LZmL-Js7eQXspJJ1wNsXK48uKWa0XT9-joUqZndVpeyflAqfGEGmCKZ9wIij65pvusA
LNEagdkUS2WvQoS09tt40JJVXr79yqr0Vw3UIA38Qsix9Rep-uyv_vgSbnMgfcknZIj4AetReT4l7mx7X-kLKy9WLBJnsCKVSXvZWUDy6Cz9GJkYG3y19NW
XaCmWmV74l7c9c8zcM6Q0nWki4OZ5f6yg8Ms1BRt0mWo14BF37YtEzhUhFyN7E1ogcowIh93VlD6D-DRwXQLsEKxKBUi-dtAqFr4yw6DmYyEiE-nUWAEnxd
DSNNu03orrPTEo-njqgmuqtFUwsDwJuw&quot; value of type &quot;System.String&quot; to type &quot;System.Security.SecureString&quot;.
At line:1 char:30
+ Connect-Mggraph -AccessToken $MsalToken.AccessToken
+                              ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Connect-MgGraph], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Graph.PowerShell.Authentication.Cmdlets.Connect
   MgGraph]]></description>
			<content:encoded><![CDATA[<p>Thanks a lot, I need you help, suddenly it stopped working for me. It is throwing below error to me. </p>
<p>Connect-Mggraph -AccessToken $MsalToken.AccessToken<br />
Connect-MgGraph : Cannot bind parameter &#8216;AccessToken&#8217;. Cannot convert the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TUiLCJ1dGkiOiJYd1ltM1B5RDEwR1BVaHdYY0RsOUFBIiwidmVyIjoiMS4wIiwid2lkcyI6WyIwOTk3YTFkMC0wZDFkLTRhY2ItYjQwOC1kNW<br />
NhNzMxMjFlOTAiXSwieG1zX3RjZHQiOjE0MTQ1ODgxNzB9.k2Zf7LZmL-Js7eQXspJJ1wNsXK48uKWa0XT9-joUqZndVpeyflAqfGEGmCKZ9wIij65pvusA<br />
LNEagdkUS2WvQoS09tt40JJVXr79yqr0Vw3UIA38Qsix9Rep-uyv_vgSbnMgfcknZIj4AetReT4l7mx7X-kLKy9WLBJnsCKVSXvZWUDy6Cz9GJkYG3y19NW<br />
XaCmWmV74l7c9c8zcM6Q0nWki4OZ5f6yg8Ms1BRt0mWo14BF37YtEzhUhFyN7E1ogcowIh93VlD6D-DRwXQLsEKxKBUi-dtAqFr4yw6DmYyEiE-nUWAEnxd<br />
DSNNu03orrPTEo-njqgmuqtFUwsDwJuw&#8221; value of type &#8220;System.String&#8221; to type &#8220;System.Security.SecureString&#8221;.<br />
At line:1 char:30<br />
+ Connect-Mggraph -AccessToken $MsalToken.AccessToken<br />
+                              ~~~~~~~~~~~~~~~~~~~~~~<br />
    + CategoryInfo          : InvalidArgument: (:) [Connect-MgGraph], ParameterBindingException<br />
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Graph.PowerShell.Authentication.Cmdlets.Connect<br />
   MgGraph</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chris Percy		</title>
		<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-14725</link>

		<dc:creator><![CDATA[Chris Percy]]></dc:creator>
		<pubDate>Tue, 18 Jul 2023 10:20:19 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2553#comment-14725</guid>

					<description><![CDATA[I get get the below error when trying to connect using secret
FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Graph.PowerShell.Authentication.Cmdlets.ConnectMgGraph

Any ideas on this, thanks]]></description>
			<content:encoded><![CDATA[<p>I get get the below error when trying to connect using secret<br />
FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Graph.PowerShell.Authentication.Cmdlets.ConnectMgGraph</p>
<p>Any ideas on this, thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Winston Gonzalez		</title>
		<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-12161</link>

		<dc:creator><![CDATA[Winston Gonzalez]]></dc:creator>
		<pubDate>Fri, 02 Jun 2023 22:02:09 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2553#comment-12161</guid>

					<description><![CDATA[Paul, great tutorial. thanks for putting it together.  simplicity at its finest.  also in the near future please let me know if you plan on posting about using MS Graph API for reporting, more specifically from MS Defender like certain reports or leveraging Power BI.  Thanks for a very informative tutorial.]]></description>
			<content:encoded><![CDATA[<p>Paul, great tutorial. thanks for putting it together.  simplicity at its finest.  also in the near future please let me know if you plan on posting about using MS Graph API for reporting, more specifically from MS Defender like certain reports or leveraging Power BI.  Thanks for a very informative tutorial.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aymen		</title>
		<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-6410</link>

		<dc:creator><![CDATA[Aymen]]></dc:creator>
		<pubDate>Mon, 05 Dec 2022 22:43:05 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2553#comment-6410</guid>

					<description><![CDATA[Hi SysAdminChannel Team

Thank you for this amazing Tutorial, it work perfect for me, i would like if we have second part for this tutorial on accessing mails , calendars , Teams ...etc , eventually discuss the different useful commands for each module ...

I&#039;m looking forward to a sequel for this perfect tutorial

Thanks]]></description>
			<content:encoded><![CDATA[<p>Hi SysAdminChannel Team</p>
<p>Thank you for this amazing Tutorial, it work perfect for me, i would like if we have second part for this tutorial on accessing mails , calendars , Teams &#8230;etc , eventually discuss the different useful commands for each module &#8230;</p>
<p>I&#8217;m looking forward to a sequel for this perfect tutorial</p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aymen		</title>
		<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-6409</link>

		<dc:creator><![CDATA[Aymen]]></dc:creator>
		<pubDate>Mon, 05 Dec 2022 22:36:18 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2553#comment-6409</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-3829&quot;&gt;Ben Derry&lt;/a&gt;.

hi everyone
You can&#039;t use the same id for certification installed for demonstration, every certificate have its own ID
you should use your own certificate id, for this you can use this commands :

# Get the id for local App installed certificate 
$ThumbApp = (Get-ChildItem &quot;Cert:\CurrentUser\My\&quot; &#124; Where-Object FriendlyName -EQ &#039;GraphApi - My Automation App&#039;).Thumbprint
$Certificate  = Get-ChildItem &quot;Cert:\CurrentUser\My\$ThumbApp&quot; 

#Connect to Graph using access token
Connect-MgGraph -TenantId $TenantId -AppId $AppId -Certificate $Certificate]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-3829">Ben Derry</a>.</p>
<p>hi everyone<br />
You can&#8217;t use the same id for certification installed for demonstration, every certificate have its own ID<br />
you should use your own certificate id, for this you can use this commands :</p>
<p># Get the id for local App installed certificate<br />
$ThumbApp = (Get-ChildItem &#8220;Cert:\CurrentUser\My\&#8221; | Where-Object FriendlyName -EQ &#8216;GraphApi &#8211; My Automation App&#8217;).Thumbprint<br />
$Certificate  = Get-ChildItem &#8220;Cert:\CurrentUser\My\$ThumbApp&#8221; </p>
<p>#Connect to Graph using access token<br />
Connect-MgGraph -TenantId $TenantId -AppId $AppId -Certificate $Certificate</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Paul		</title>
		<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-5970</link>

		<dc:creator><![CDATA[Paul]]></dc:creator>
		<pubDate>Thu, 24 Nov 2022 17:09:46 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2553#comment-5970</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-5960&quot;&gt;DanielD&lt;/a&gt;.

Thanks mate!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-5960">DanielD</a>.</p>
<p>Thanks mate!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: DanielD		</title>
		<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-5960</link>

		<dc:creator><![CDATA[DanielD]]></dc:creator>
		<pubDate>Thu, 24 Nov 2022 07:14:47 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2553#comment-5960</guid>

					<description><![CDATA[Thanks for the brilliant article - I had been ripping my hair out (or would&#039;ve been if I hadn&#039;t gone bald years ago) trying to figure out how to authenticate for New-MgUserAuthenticationTemporaryAccessPassMethod
It shouldn&#039;t need that much digging to get a decent outline - but yours was the outline that was decent.]]></description>
			<content:encoded><![CDATA[<p>Thanks for the brilliant article &#8211; I had been ripping my hair out (or would&#8217;ve been if I hadn&#8217;t gone bald years ago) trying to figure out how to authenticate for New-MgUserAuthenticationTemporaryAccessPassMethod<br />
It shouldn&#8217;t need that much digging to get a decent outline &#8211; but yours was the outline that was decent.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: DanielD		</title>
		<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-5959</link>

		<dc:creator><![CDATA[DanielD]]></dc:creator>
		<pubDate>Thu, 24 Nov 2022 07:10:40 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2553#comment-5959</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-3829&quot;&gt;Ben Derry&lt;/a&gt;.

I had the same problem - There was a typo in the article - a missing \
Try &quot;Get-ChildItem Cert:\CurrentUser\My\ADDC[...]&quot;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-3829">Ben Derry</a>.</p>
<p>I had the same problem &#8211; There was a typo in the article &#8211; a missing \<br />
Try &#8220;Get-ChildItem Cert:\CurrentUser\My\ADDC[&#8230;]&#8221;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ben Derry		</title>
		<link>https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/#comment-3829</link>

		<dc:creator><![CDATA[Ben Derry]]></dc:creator>
		<pubDate>Fri, 23 Sep 2022 23:10:26 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2553#comment-3829</guid>

					<description><![CDATA[I&#039;m unable to get past the following:
Get-ChildItem Cert:\CurrentUser\ADDC728B7DA662770692275D09F3XXXXXXXXXXXX
Get-ChildItem: Cannot find path &#039;\CurrentUser\ADDC728B7DA662770692275D09F3XXXXXXXXXXXX&#039; because it does not exist.

It&#039;s unable to find the Self signed Cert.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m unable to get past the following:<br />
Get-ChildItem Cert:\CurrentUser\ADDC728B7DA662770692275D09F3XXXXXXXXXXXX<br />
Get-ChildItem: Cannot find path &#8216;\CurrentUser\ADDC728B7DA662770692275D09F3XXXXXXXXXXXX&#8217; because it does not exist.</p>
<p>It&#8217;s unable to find the Self signed Cert.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
