Join me in taking a look at how you can use the Graph API/SDK alongside C# in your projects. In this video we'll cover how to find the calls you need to make, what permissions you'll need, how to create an entreprise application, what packes are needed and a few examples of how you can call the API using the SDK in C#.
We're using a client secret to connect as an application, in case you want to see how to create a multi tenant application with access to multiple tenants, let me know and i'll create a video on that.
Source code used in the video: [ Ссылка ]
Graph X-Ray: [ Ссылка ]
Graph Permissions Explorer: [ Ссылка ]
Support Merill for the awesome tools
YT: [ Ссылка ]
Twitter: [ Ссылка ]
Authorization code flow:
[ Ссылка ]
[ Ссылка ]
PowerShell commands for 99 year secret:
$startDate = Get-Date
$endDate = $startDate.AddYears(99)
New-AzureADApplicationPasswordCredential -ObjectId "OBJECTID" -CustomKeyIdentifier "IMAP Secret" -StartDate $startDate -EndDate $endDate
Ещё видео!