autographps-sdk

0.29.0

PowerShell SDK for Microsoft Graph automation

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-sdk

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

Author(s)

Adam Edwards

Copyright

(c) 2021 Adam Edwards.

Owners

Tags

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

Functions

Clear-GraphLog Connect-GraphApi Disconnect-GraphApi Find-GraphLocalCertificate Format-GraphLog Get-GraphApplication Get-GraphApplicationCertificate Get-GraphApplicationConsent Get-GraphApplicationServicePrincipal Get-GraphConnection Get-GraphCurrentConnection Get-GraphError Get-GraphResource Get-GraphLog Get-GraphLogOption Get-GraphProfile Get-GraphAccessToken Invoke-GraphApiRequest New-GraphApplication New-GraphApplicationCertificate New-GraphConnection New-GraphLocalCertificate Register-GraphApplication Remove-GraphApplication Remove-GraphApplicationCertificate Remove-GraphApplicationConsent Remove-GraphConnection Remove-GraphResource Select-GraphConnection Select-GraphProfile Set-GraphApplicationCertificate Set-GraphApplicationConsent Set-GraphConnectionStatus Set-GraphLogOption Test-Graph Test-GraphSettings Unregister-GraphApplication

PSEditions

Core Desktop

Dependencies

Release Notes

## AutoGraphPS-SDK 0.29.0 Release Notes

This release removes the ADAL library dependency and removes support for the AAD Graph service endpoint. Includes an extensive documentation update so that all commands are now documented.

### New dependencies

None.

### Breaking changes

* Support for the AAD Graph service endpoint (https://graph.windows.net/) has been removed; the `AADGraph` parameter has been removed from all commands that supported it such as `Connect-GraphApi`, `Get-GraphResource`, and `Invoke-GraphApiRequest`. The module now only supports endpoints that support the Graph API protocol implemented by https://graph.microsoft.com/ and documented at https://docs.microsoft.com/en-us/graph.
* The `AuthProtocol` parameter of `Connect-GraphApi` and `New-GraphConnection` has been removed
* If you relied on the module loading ADAL in some circumstances, this no longer occurs as this release removes the ADAL code altogether.
* The `Get-GraphToken` command was renamed to `Get-GraphAccessToken`
* `Set-GraphApplicationConsent` and some other commands no longer support a version parameter.

### New features

* `Index` parameter added to `Get-GraphLog` to get the log entry at a specific index
* `Get-GraphLog` now supports the parameter aliases `First` for `Newest` and `Last` for `Oldest`.
* `Register-GraphApplication` now returns formatted output

### Fixed defects

* Fixed `./build/import-devmodule.ps1` command so that if it launches a shell it does not load the PowerShell profile by default to ensure that components like posh-git, oh-my-posh, or anything else loaded in the profile does not interfere with unit tests. Added `PSProfile` option to the command to allow the profile to be loaded.
* `Skip` parameter of `Get-GraphLog` had no effect, this has been fixed.
* `Set-GraphApplicationConsent` now handles errors correctly when processing objects in the pipeline.
* The static permissions data has been updated to reflect the newest Graph API permissions in commands like Connect-GraphApi.
* Parameter completion for permissions now tries to use the default connection if it is already connected -- previously it would always use static data rather than treating it as the fallback.

Version History

Version Downloads Last updated
0.29.0 (current version) 195 12/30/2021
0.28.0 186 10/12/2021
0.27.0 183 6/13/2021
0.26.1 97 5/5/2021
0.26.0 66 5/4/2021
0.25.0 85 2/27/2021
0.24.0 218 9/26/2020
0.23.0 22 9/26/2020
0.22.0 68 9/8/2020
0.21.1 223 6/20/2020
0.21.0 112 5/24/2020
0.20.0 420 4/19/2020
0.19.0 252 4/12/2020
0.18.0 793 2/8/2020
0.17.0 253 1/29/2020
0.16.0 347 11/6/2019
0.15.0 81 10/24/2019
0.14.0 45 10/23/2019
0.13.0 54 10/16/2019
0.12.0 49 10/7/2019
0.11.1 116 9/23/2019
0.11.0 29 9/20/2019
0.10.0 224 3/18/2019
0.9.0 259 2/3/2019
0.8.1 45 1/19/2019
0.8.0 43 1/13/2019
0.7.1 51 1/8/2019
0.7.0 34 1/8/2019
0.6.2 41 1/6/2019
0.6.1 38 1/5/2019
0.6.0 41 1/2/2019
0.5.1 86 10/30/2018
0.5.0 86 9/30/2018
0.4.0 59 9/15/2018