Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Azure.Identity;
using Azure.Storage.Blobs;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Azure.Identity;
using Azure.Storage.Blobs;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Threading.Tasks;
using Amazon;
using Amazon.EC2;
using Amazon.EC2.Model;
using Amazon.Runtime;
using Amazon.SSO;
using Amazon.SSO.Model;
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Threading.Tasks;
using Amazon;
using Amazon.EC2;
using Amazon.EC2.Model;
using Amazon.Organizations;
using Amazon.Organizations.Model;
using Amazon.Runtime;
{
"provisioningState": "Succeeded",
"primary": true,
"resourceGuid": "d77ad786-7150-4871-bbf4-da60017464b9",
"enableAcceleratedNetworking": false,
"ipConfigurations": [
{
"properties": {
"provisioningState": "Succeeded",
"privateIPAllocationMethod": "Dynamic",
function RunARGquery {
param (
[string[]]$SubscriptionIds,
[string]$ARG_query
)
$fullResultSet = @()
$pageSize = 5000
# Subscription batching code below taken
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Azure.Storage.Blobs;
using Microsoft.Graph;
using Microsoft.Graph.Auth;
using Microsoft.Identity.Client;
namespace RetrieveO365PhotosAndInjectToStorage
Running restore with 12 concurrent jobs.
Reading project file C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\CmdParserTest.csproj.
Persisting no-op dg to C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\obj\CmdParserTest.csproj.nuget.dgspec.json
Restoring packages for C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\CmdParserTest.csproj...
Restoring packages for .NETCoreApp,Version=v3.1...
GET https://api.nuget.org/v3-flatcontainer/commandlineparser/index.json
OK https://api.nuget.org/v3-flatcontainer/commandlineparser/index.json 475ms
GET https://api.nuget.org/v3-flatcontainer/commandlineparser/2.7.82/commandlineparser.2.7.82.nupkg
OK https://api.nuget.org/v3-flatcontainer/commandlineparser/2.7.82/commandlineparser.2.7.82.nupkg 37ms
Resolving conflicts for .NETCoreApp,Version=v3.1...
Restoring NuGet packages...
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the NuGet Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'
Running restore with 12 concurrent jobs.
Reading project file C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\CmdParserTest.csproj.
The restore inputs for 'CmdParserTest' have not changed. No further actions are required to complete the restore.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\obj\project.assets.json
No-Op restore. The cache will not be updated. Path: C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\obj\project.nuget.cache
Restore completed in 1.46 ms for C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\CmdParserTest.csproj.
Running restore with 12 concurrent jobs.
Reading project file C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\CmdParserTest.csproj.
Persisting no-op dg to C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\obj\CmdParserTest.csproj.nuget.dgspec.json
Restoring packages for C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\CmdParserTest.csproj...
Restoring packages for .NETCoreApp,Version=v3.1...
GET https://api.nuget.org/v3-flatcontainer/commandlineparser/index.json
OK https://api.nuget.org/v3-flatcontainer/commandlineparser/index.json 485ms
GET https://api.nuget.org/v3-flatcontainer/commandlineparser/2.7.82/commandlineparser.2.7.82.nupkg
OK https://api.nuget.org/v3-flatcontainer/commandlineparser/2.7.82/commandlineparser.2.7.82.nupkg 38ms
Resolving conflicts for .NETCoreApp,Version=v3.1...