autographps

0.36.0

The friendly, scriptable Graph Explorer CLI for automating the Microsoft Graph

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name autographps -RequiredVersion 0.36.0

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

Install-PSResource -Name autographps -Version 0.36.0

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) 2021 Adam Edwards.

Package Details

Author(s)

  • Adam Edwards

Tags

MSGraph Graph AADGraph Azure MicrosoftGraph Microsoft-Graph MS-Graph AAD-Graph GraphExplorer REST CRUD GraphAPI autograph poshgraph Windows Linux MacOS

Functions

Add-GraphRelatedItem Find-GraphPermission Find-GraphType Get-Graph Get-GraphChildItem Get-GraphItem Get-GraphItemRelationship Get-GraphRelatedItem Get-GraphItemUri Get-GraphResourceWithMetadata Get-GraphLocation Get-GraphMember Get-GraphMethod Get-GraphStatistics Get-GraphType Get-GraphUri Get-GraphUriInfo Invoke-GraphMethod New-Graph New-GraphItem New-GraphItemRelationship New-GraphMethodParameterObject New-GraphObject Remove-Graph Remove-GraphItem Remove-GraphItemRelationship Set-GraphItem Set-GraphLocation Set-GraphPrompt Show-GraphHelp Update-GraphMetadata

PSEditions

Core Desktop

Dependencies

Release Notes

## AutoGraphPS 0.36.0 Release Notes

Adds additional commands to make type inspection more usable.

### New dependencies

* `autographps-sdk 0.25.0`
 * Including that dependency's update to Microsoft Authentication Library (MSAL) 4.27

### Breaking changes

* Old default appid is deprecated, superseded with new appid ac70e3e2-a821-4d19-839c-b8af4515254b. Impact includes the need to re-consent to any desired permissions that were granted to the previous appid.
* When signing in with an app other than the default appid, personal Microsoft Accounts cannot sign in without specifying `AllowMSA` via `Connect-GraphApi`
* `New-GraphApplication` now creates single tenant applications by default for public client apps

### New features

* Added the following commands:
 * `Get-GraphMember`: This command gets the members (e.g. *properties*, *methods*, or *relationships*) of a Graph object's type or an explicitly specified type name. The command is an analog to the `Get-Member` command of PowerShell, but focused on the types of the Graph.
 * `Get-GraphMethod`: This command gets the methods of a Graph object's type or an explicitly specified type name. The output includes the return type (if any) of the method and the named parameters of the method and their types.
 * `Find-GraphType`: This command returns the types that match specified criteria. This is useful for finding types that can be used to accomplish tasks in the problem domain represented by the search terms.
 * `Get-GraphType` now accepts objects from the pipeline.
* From updated `autographpsd-sdk` dependency:
 * `Connect-GraphApi` and `New-GraphConnection` support the `AllowMSA` parameter to enable MSA accounts when signing in with an app other than the default app
 * Objects emitted by `Invoke-GraphApiRequest` and related commands now have a type `GraphResponseObject` included in `PSTypeNames` to enable reliable pipeline binding and eventual improvements in output formatting.


### Fixed defects

* Not all functions under the path /reports and possibly other paths were being detected and thus could not be used with `Invoke-GraphMethod`.
* For some types, such as driveItem, the output of Get-GraphType would show duplicate methods for methods like getActivityByInterval -- now only one version of the method is returned (a type cannot have two methods with the same name).
* Get-Graph was returning non-canonical file paths for the LastTypeMetadataSource property when commands like Update-GraphMetadata were used to obtain metadata from a file
None.
 * From `autographpsd-sdk` dependency:
 * [Many scenarios broken for Microsoft Accounts only but not broken for AAD accounts](https://github.com/adamedx/autographps-sdk/issues/53)
 * Sign-in for single tenant applications was broken
 * Error response streams were not being retrieved, so detailed errors were missing from Get-GraphLog and other error-surfacing mechanisms
 * `Get-GraphLog` was emitting errors in the wrong order with oldest first rather than newest first

FileList

Version History

Version Downloads Last updated
0.44.0 7 11/11/2024
0.43.0 26 9/5/2024
0.42.0 372 2/19/2023
0.41.0 378 12/30/2021
0.40.0 265 10/26/2021
0.39.0 222 10/20/2021
0.38.0 295 6/14/2021
0.37.1 240 5/5/2021
0.37.0 222 5/5/2021
0.36.0 (current version) 241 2/27/2021
0.35.0 257 9/26/2020
0.34.0 215 9/26/2020
0.33.0 215 9/26/2020
0.32.1 260 6/20/2020
0.32.0 229 5/24/2020
0.31.0 259 2/4/2020
0.30.0 224 2/1/2020
0.29.0 295 11/6/2019
0.28.0 238 10/24/2019
0.27.0 222 10/23/2019
0.26.0 231 10/16/2019
0.25.0 226 10/7/2019
0.24.0 224 9/24/2019
0.23.0 314 3/18/2019
0.22.0 266 2/3/2019
0.21.1 236 1/19/2019
0.21.0 232 1/14/2019
0.20.0 234 1/8/2019
0.19.0 230 1/7/2019
0.18.2 228 1/6/2019
0.18.1 228 1/5/2019
0.18.0 229 1/4/2019
0.17.0 231 1/2/2019
0.16.1 253 10/30/2018
0.16.0 239 10/15/2018
0.15.1 235 9/30/2018
0.15.0 230 9/24/2018
0.14.0 233 9/16/2018
Show less