autographps-sdk
0.4.0
PowerShell SDK for automating the Microsoft Graph
Minimum PowerShell version
5.0
Installation Options
Owners
Copyright
(c) 2018 Adam Edwards.
Package Details
Author(s)
- Adam Edwards
Tags
MSGraph Graph AADGraph Azure MicrosoftGraph Microsoft-Graph MS-Graph AAD-Graph REST CRUD GraphAPI poshgraph poshgraph-sdk
Cmdlets
Connect-Graph Disconnect-Graph Get-GraphConnectionStatus Get-GraphError Get-GraphItem Get-GraphSchema Get-GraphToken Get-GraphVersion Invoke-GraphRequest New-GraphConnection Set-GraphConnectionStatus Test-Graph
Functions
Get-DynamicValidateSetParameter
Dependencies
-
- scriptclass (>= 0.13.7)
Release Notes
# AutoGraphPS-SDK 0.4.0 Release Notes
The release renames the PoshGraph-SDK PowerShell module to AutoGraphPS-SDK.
# AutoGraphPS-SDK 0.3.0 Release Notes -- previous release
This release adds support for app authentication and cmdlet argument completion.
## New features
### Cmdlet features
* V1 auth protocol token caching introduced -- no need to re-authenticate every hour for V1 auth
* App-only auth through `New-GraphConnection` for v1 and v2 auth protocols via symmetric key or certificate
* Use `-NonInteractiveAppAuth` of `New-GraphConnection` for app only auth and specify one of the following options
* `-Secret` to specify a symmetric key through the `-Password` parameter
* `-CertificatePath` to specify a path to a ceritificate in the local certificate store PowerShell drive `cert:`.
* `-Certificate` to specify an `X509Certificate2` describing an `X509` certificate with a private key such as one that can be obtained by reading a certificate from the local certificate store or from any number of serialized certificate file formats such as `.pfx`, `.cer`, etc.
* The connection returned by `New-GraphConnection` can be supplied to the `-Connection` parameter of the `Connect-Graph` cmdlet or other cmdlets that accept the `-Connection` parameter obtain and use an app-only access token
* Argument completion for `ScopeNames` parameter of `Connect-Graph` and `New-GraphConnection` cmdlets
* Associated `-SkipScopeValidation` option to allow scope names not validated / completed by the cmdlet
* Parameter `-GraphAuthProtocol` has been changed to `-AuthProtocol` for the `New-GraphConnection` cmdlet
* `-Search` option added to `Get-GraphItem` and `Invoke-GraphRequests` cmdlets to enable full-text search on Graph REST calls that support the OData `$search` query parameter
#### Feature notes
* For app-only auth: If `-Secret` is specified but `-Password` is not specified, you will receive a secure input prompt to allow you to implement the symmetric key password from the console.
* For the `-CertificatePath` parameter, if the specified path to the certificate in the PowerShell `cert:` drive is not an absolute path starting with `cert:/`, the path is assumed to be relative to the user's certificate story, i.e. `cert://currentuser/my`.
### Library features
* Expose tenant display information from the `GraphIdentity` class.
* Refactor of authentication related code
## Fixed defects
* Fix incorrect auth protocol used due to shared reference corruption issue in data structure
* Fix token cache not being cleared when connection was disconnected
* Fix confusing parameter sets for `New-GraphConnection` and `Connect-Graph` with simpler permutations
FileList
- autographps-sdk.nuspec
- autographps-sdk.psd1
- autographps-sdk.psm1
- lib\Microsoft.Identity.Client.1.1.4-preview0002\.signature.p7s
- lib\Microsoft.Identity.Client.1.1.4-preview0002\lib\net45\Microsoft.Identity.Client.dll
- lib\Microsoft.Identity.Client.1.1.4-preview0002\lib\net45\Microsoft.Identity.Client.xml
- lib\Microsoft.IdentityModel.Clients.ActiveDirectory.3.19.0\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
- lib\Microsoft.IdentityModel.Clients.ActiveDirectory.3.19.0\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll
- lib\Microsoft.IdentityModel.Clients.ActiveDirectory.3.19.0\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.xml
- lib\Microsoft.IdentityModel.Clients.ActiveDirectory.3.19.0\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.xml
- src\aliases.ps1
- src\cmdlets.ps1
- src\graph-sdk.ps1
- src\auth\AuthProvider.ps1
- src\auth\V1AuthProvider.ps1
- src\auth\V2AuthProvider.ps1
- src\client\Application.ps1
- src\client\graphapplication.ps1
- src\client\GraphConnection.ps1
- src\client\GraphContext.ps1
- src\client\GraphIdentity.ps1
- src\client\LogicalGraphManager.ps1
- src\cmdlets\connect-graph.ps1
- src\cmdlets\disconnect-graph.ps1
- src\cmdlets\Get-GraphConnectionStatus.ps1
- src\cmdlets\get-grapherror.ps1
- src\cmdlets\get-graphitem.ps1
- src\cmdlets\Get-GraphSchema.ps1
- src\cmdlets\Get-GraphToken.ps1
- src\cmdlets\Get-GraphVersion.ps1
- src\cmdlets\Invoke-GraphRequest.ps1
- src\cmdlets\New-GraphConnection.ps1
- src\cmdlets\Set-GraphConnectionStatus.ps1
- src\cmdlets\Test-Graph.ps1
- src\cmdlets\common\DynamicParamHelper.ps1
- src\cmdlets\common\ItemResultHelper.ps1
- src\cmdlets\common\QueryHelper.ps1
- src\common\GraphAccessDeniedException.ps1
- src\common\GraphUtilities.ps1
- src\common\PreferenceHelper.ps1
- src\common\ProgressWriter.ps1
- src\common\ScopeHelper.ps1
- src\common\Secret.ps1
- src\graphservice\graphendpoint.ps1
- src\REST\GraphErrorRecorder.ps1
- src\REST\GraphRequest.ps1
- src\REST\GraphResponse.ps1
- src\REST\RestRequest.ps1
- src\REST\RestResponse.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
0.32.0 | 354 | 11/9/2024 |
0.31.0 | 378 | 9/2/2024 |
0.30.0 | 368 | 2/19/2023 |
0.29.0 | 727 | 12/30/2021 |
0.28.0 | 559 | 10/12/2021 |
0.27.0 | 555 | 6/13/2021 |
0.26.1 | 469 | 5/5/2021 |
0.26.0 | 438 | 5/4/2021 |
0.25.0 | 458 | 2/27/2021 |
0.24.0 | 590 | 9/26/2020 |
0.23.0 | 394 | 9/26/2020 |
0.22.0 | 440 | 9/8/2020 |
0.21.1 | 595 | 6/20/2020 |
0.21.0 | 484 | 5/24/2020 |
0.20.0 | 792 | 4/19/2020 |
0.19.0 | 624 | 4/12/2020 |
0.18.0 | 1,165 | 2/8/2020 |
0.17.0 | 625 | 1/29/2020 |
0.16.0 | 719 | 11/6/2019 |
0.15.0 | 453 | 10/24/2019 |
0.14.0 | 417 | 10/23/2019 |
0.13.0 | 426 | 10/16/2019 |
0.12.0 | 421 | 10/7/2019 |
0.11.1 | 489 | 9/23/2019 |
0.11.0 | 401 | 9/20/2019 |
0.10.0 | 596 | 3/18/2019 |
0.9.0 | 633 | 2/3/2019 |
0.8.1 | 417 | 1/19/2019 |
0.8.0 | 415 | 1/13/2019 |
0.7.1 | 423 | 1/8/2019 |
0.7.0 | 407 | 1/8/2019 |
0.6.2 | 413 | 1/6/2019 |
0.6.1 | 410 | 1/5/2019 |
0.6.0 | 413 | 1/2/2019 |
0.5.1 | 458 | 10/30/2018 |
0.5.0 | 458 | 9/30/2018 |
0.4.0 (current version) | 432 | 9/15/2018 |