autographps-sdk
0.27.0
PowerShell SDK for Microsoft Graph automation
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2021 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 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-GraphToken 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 Unregister-GraphApplication
PSEditions
Dependencies
-
- scriptclass (>= 0.20.2)
Release Notes
## AutoGraphPS-SDK 0.27.0 Release Notes
This release adds fixes for defects identified in 0.26.1 as well as new features related to application certificate management
### New dependencies
None.
### Breaking changes
* `Get-GraphConnectionInfo` has been renamed to `Get-GraphCurrentConnection`
* `Get-GraphProfileSettings` renamed to `Get-GraphProfile`
* `Select-GraphProfileSettings` renamed to `Select-GraphProfile`
* `Get-GraphError` parameters have changed or been removed
* Certificate generation is no longer automatic for `New-GraphApplication` -- the `NewCredential` parameter must be specified
### New features
* New `Set-GraphApplicationCertificate` command that supports specifying an existing public key certificate in the file system (both .cer and .pfx formats) or those from the Windows certificate store.
* New `Select-GraphConnection` command to switch between connections without connecting to them
* New `AdditionalProperties` parameter for `New-GraphApplication` to set values for arbitrary properties of the application
* New `CertificatePath` parameter for `New-GraphApplicationCertificate` and `New-GraphLocalCertificate`
* New `Thumbprint` parameter for `Set-GraphApplicationCertificate`
* New `CertKeyLength` for commands that create certificates to allow the size of the key to be customized
* New `NewCredential` parameter for `New-GraphApplication` to explicitly create a new certificate credential
* Output types for `Get-GraphApplication` and `Get-GraphApplicationConsent` commands for improved usability when piping output to commands including `Select-Object`
* Commands that create certificates now default to 4096 for the key length
* Formatting for commands that output certificate information
* Improved, simpler formatting for connections, including highlighting current connection
* `Get-GraphError` is now a view on top of the log for errors and is easier to read
* New build scripts to help with documentation
* `./build/Get-CommandParameters`
* `./build/Get-DocumentStationStatus`
* `./build/Get-MissingDocCommandsByFewestParameters`
### Fixed defects
* Correctly parse @odata.context URIs like https://graph.microsoft.com/v1.0/$metadata#users(userid)/contacts/$entity such that the URI is correclty identified to refer to a member of a collection
* `Remove-GraphApplicationConsent` failed when input was not taken from the pipeline
* `New-GraphApplication`, `Set-GraphapplicationConsent` other commands failed when the connection (typically from profile settings) had the non-default value of `Eventual` set for `ConsistencyLevel`. This caused requests that expected read-after-write to reflect the write operation to fail sometimes. This was fixed by ensuring that regardless of the setting used for queries constructed by the user via commands like `Invoke-GraphRequest` and `Get-GraphRequest`, the consistency level of `Session` is always used.
* `Get-GraphMethod` and `Get-GraphMember` required the `GraphName` parameter to be specified whenever the `Uri` parameter was specified -- this has been fixed.
* Standardized pipelining between certificate and app commands, e.g. output of app commands can be used as input to certificate commands
* Set-GraphApplicationConsent would not set specified delegated permissions if you were signed in with app only and you didn't explicitly specify the consent target -- that is by design, but it should have failed. Instead, it silently skipped the consent with no indication to the user. This has been fixed to fail with an error that instructions on how to remediate.
FileList
- autographps-sdk.nuspec
- autographps-sdk.psd1
- autographps-sdk.psm1
- lib\Microsoft.Identity.Client.4.27.0\lib\net45\Microsoft.Identity.Client.dll
- lib\Microsoft.Identity.Client.4.27.0\lib\netstandard1.3\Microsoft.Identity.Client.dll
- lib\Microsoft.IdentityModel.Clients.ActiveDirectory.5.2.7\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
- lib\Microsoft.IdentityModel.Clients.ActiveDirectory.5.2.7\lib\netstandard1.3\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
- src\aliases.ps1
- src\cmdlets.ps1
- src\formats.ps1
- src\graph-sdk.ps1
- src\auth\AuthProvider.ps1
- src\auth\CompiledDeviceCodeAuthenticator.ps1
- src\auth\DeviceCodeAuthenticator.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\LocalConnectionProfile.ps1
- src\client\LocalProfile.ps1
- src\client\LocalProfileSpec.ps1
- src\client\LocalSettings.ps1
- src\client\LogicalGraphManager.ps1
- src\cmdlets\Clear-GraphLog.ps1
- src\cmdlets\Connect-GraphApi.ps1
- src\cmdlets\Disconnect-GraphApi.ps1
- src\cmdlets\Find-GraphLocalCertificate.ps1
- src\cmdlets\Format-GraphLog.ps1
- src\cmdlets\Get-GraphApplication.ps1
- src\cmdlets\Get-GraphApplicationCertificate.ps1
- src\cmdlets\Get-GraphApplicationConsent.ps1
- src\cmdlets\Get-GraphApplicationServicePrincipal.ps1
- src\cmdlets\Get-GraphConnection.ps1
- src\cmdlets\Get-GraphCurrentConnection.ps1
- src\cmdlets\Get-GraphError.ps1
- src\cmdlets\Get-GraphLog.ps1
- src\cmdlets\Get-GraphLogOption.ps1
- src\cmdlets\Get-GraphProfile.ps1
- src\cmdlets\Get-GraphResource.ps1
- src\cmdlets\Get-GraphToken.ps1
- src\cmdlets\Invoke-GraphApiRequest.ps1
- src\cmdlets\New-GraphApplication.ps1
- src\cmdlets\New-GraphApplicationCertificate.ps1
- src\cmdlets\New-GraphConnection.ps1
- src\cmdlets\New-GraphLocalCertificate.ps1
- src\cmdlets\Register-GraphApplication.ps1
- src\cmdlets\Remove-GraphApplication.ps1
- src\cmdlets\Remove-GraphApplicationCertificate.ps1
- src\cmdlets\Remove-GraphApplicationConsent.ps1
- src\cmdlets\Remove-GraphConnection.ps1
- src\cmdlets\Remove-GraphResource.ps1
- src\cmdlets\Select-GraphConnection.ps1
- src\cmdlets\Select-GraphProfile.ps1
- src\cmdlets\Set-GraphApplicationCertificate.ps1
- src\cmdlets\Set-GraphApplicationConsent.ps1
- src\cmdlets\Set-GraphConnectionStatus.ps1
- src\cmdlets\Set-GraphLogOption.ps1
- src\cmdlets\Test-Graph.ps1
- src\cmdlets\Unregister-GraphApplication.ps1
- src\cmdlets\common\ApplicationHelper.ps1
- src\cmdlets\common\CertificateHelper.ps1
- src\cmdlets\common\CommandContext.ps1
- src\cmdlets\common\ConsentHelper.ps1
- src\cmdlets\common\DisplayTypeFormatter.ps1
- src\cmdlets\common\DynamicParamHelper.ps1
- src\cmdlets\common\Formats.ps1xml
- src\cmdlets\common\GraphOutputFile.ps1
- src\cmdlets\common\ItemResultHelper.ps1
- src\cmdlets\common\ParameterCompleter.ps1
- src\cmdlets\common\PermissionParameterCompleter.ps1
- src\cmdlets\common\QueryHelper.ps1
- src\common\ColorScheme.ps1
- src\common\ColorString.ps1
- src\common\DefaultScopeData.ps1
- src\common\GraphAccessDeniedException.ps1
- src\common\GraphApplicationCertificate.ps1
- src\common\GraphFormatter.ps1
- src\common\GraphUtilities.ps1
- src\common\LocalCertificate.ps1
- src\common\PreferenceHelper.ps1
- src\common\ProgressWriter.ps1
- src\common\ResponseContext.ps1
- src\common\ScopeHelper.ps1
- src\common\Secret.ps1
- src\graphservice\ApplicationAPI.ps1
- src\graphservice\ApplicationObject.ps1
- src\graphservice\GraphEndpoint.ps1
- src\REST\GraphRequest.ps1
- src\REST\GraphResponse.ps1
- src\REST\HttpUtilities.ps1
- src\REST\RequestLog.ps1
- src\REST\RequestLogEntry.ps1
- src\REST\RESTRequest.ps1
- src\REST\RESTResponse.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
0.32.0 | 373 | 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 (current version) | 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 | 432 | 9/15/2018 |