MSGraphStuff

1.0.9

Microsoft Graph API related functions. Some of them are explained at https://doitpsway.com/.

Some of the functions:
- Expand-MgAdditionalProperties - Function for expanding "AdditionalProperties" hash property to the main object aka flattens the returned object
- Get-CodeGraphModuleDependency - Function for getting Graph SDK modules required to run given code
- G
Microsoft Graph API related functions. Some of them are explained at https://doitpsway.com/.

Some of the functions:
- Expand-MgAdditionalProperties - Function for expanding "AdditionalProperties" hash property to the main object aka flattens the returned object
- Get-CodeGraphModuleDependency - Function for getting Graph SDK modules required to run given code
- Get-CodeGraphPermissionRequirement - Function for getting Graph API permissions (scopes) that are needed tu run selected code
- Invoke-GraphAPIRequest - Function for creating request against Microsoft Graph API. Unlike official one supports paging and throttling
- New-GraphAPIAuthHeader - Function for generating header that can be used for authentication of Graph API requests
- ...
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name MSGraphStuff

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name MSGraphStuff

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2022 @AndrewZtrhgf. All rights reserved.

Package Details

Author(s)

  • @AndrewZtrhgf

Tags

PowerShell Graph Microsoft API MSGraph MSGraphStuff

Functions

Expand-MgAdditionalProperties Get-CodeGraphModuleDependency Get-CodeGraphPermissionRequirement Invoke-GraphAPIRequest New-GraphAPIAuthHeader

Dependencies

Release Notes


           * 1.0.5
               * EDIT
                   * Get-CodeGraphPermissionRequirement - new aliases, support for both permType, added method, apiVersion to the output, added searching for graph api calls using Invoke-MsGraphRequest, Invoke-RestMethod, Invoke-WebRequest and their aliases
               * BUGFIX
                   * Get-CodeDependency - fixed skipping of modules when processJustMSGraphSDK switch is used
           * 1.0.6
               * EDIT
                   * Get-CodeGraphPermissionRequirement - new examples and checks
               * ADDED
                   * Get-CodeGraphModuleDependency
           * 1.0.7
               * EDIT
                   * Get-CodeGraphPermissionRequirement - permissions output optimized by default, to change that use dontFilterPermissions
           * 1.0.8
               * BUGFIX
                   * Get-CodeGraphModuleDependency - ignore Import-Module results, fixed DependencyPath extraction
               * EDIT
                   * Get-CodeGraphPermissionRequirement - added switch allOccurrences, removed unknownDependencyAsObject parameter when searching for dependencies, because there is no real reason to return such results
           * 1.0.8
               * EDIT
                   * Get-CodeGraphModuleDependency - omit type property as it is useless
               

FileList

Version History

Version Downloads Last updated
1.0.9 (current version) 5,983 3/11/2024
1.0.8 13 3/11/2024
1.0.7 1,557 2/29/2024
1.0.6 548 2/26/2024
1.0.5 50 2/25/2024
1.0.4 110 2/24/2024
1.0.3 11 2/24/2024
1.0.2 122 2/23/2024
1.0.1 12,477 7/11/2023
1.0.0 57 4/7/2023
Show more