MSGraphStuff

1.0.7

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 -RequiredVersion 1.0.7

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

Install-PSResource -Name MSGraphStuff -Version 1.0.7

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
               

FileList

Version History

Version Downloads Last updated
1.1.0 11,629 9/16/2024
1.0.11 16,083 6/10/2024
1.0.10 2,683 5/19/2024
1.0.9 8,291 3/11/2024
1.0.8 16 3/11/2024
1.0.7 (current version) 1,560 2/29/2024
1.0.6 551 2/26/2024
1.0.5 53 2/25/2024
1.0.4 113 2/24/2024
1.0.3 14 2/24/2024
1.0.2 125 2/23/2024
1.0.1 12,482 7/11/2023
1.0.0 68 4/7/2023
Show less