autographps-sdk
0.25.0
PowerShell SDK for Microsoft Graph automation
Minimum PowerShell version
5.1
Installation Options
Author(s)
Adam Edwards
Copyright
(c) 2021 Adam Edwards.
Package Details
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-GraphConnectionInfo Get-GraphError Get-GraphResource Get-GraphLog Get-GraphLogOption Get-GraphToken Invoke-GraphApiRequest New-GraphApplication New-GraphApplicationCertificate New-GraphConnection New-GraphLocalCertificate Register-GraphApplication Remove-GraphApplication Remove-GraphApplicationCertificate Remove-GraphApplicationConsent Remove-GraphResource Set-GraphApplicationConsent Set-GraphConnectionStatus Set-GraphLogOption Test-Graph Unregister-GraphApplication
PSEditions
Dependencies
-
- scriptclass (>= 0.20.2)
Release Notes
## AutoGraphPS-SDK 0.25.0 Release Notes
This release addresses a major regression for Microsoft Accounts only (not Azure Active Directory accounts),
updates authentication parameters to best practices, and includes minor bug fixes and improvements.
### New dependencies
None.
### 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
* `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
* [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
- 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\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\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-GraphConnectionInfo.ps1
- src\cmdlets\Get-GraphError.ps1
- src\cmdlets\Get-GraphLog.ps1
- src\cmdlets\Get-GraphLogOption.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-GraphResource.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\CommandContext.ps1
- src\cmdlets\common\ConsentHelper.ps1
- src\cmdlets\common\DisplayTypeFormatter.ps1
- src\cmdlets\common\DynamicParamHelper.ps1
- 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\DefaultScopeData.ps1
- src\common\GraphAccessDeniedException.ps1
- src\common\GraphApplicationCertificate.ps1
- src\common\GraphUtilities.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\GraphErrorRecorder.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.30.0 | 108 | 2/19/2023 |
0.29.0 | 721 | 12/30/2021 |
0.28.0 | 553 | 10/12/2021 |
0.27.0 | 549 | 6/13/2021 |
0.26.1 | 463 | 5/5/2021 |
0.26.0 | 432 | 5/4/2021 |
0.25.0 (current version) | 452 | 2/27/2021 |
0.24.0 | 584 | 9/26/2020 |
0.23.0 | 388 | 9/26/2020 |
0.22.0 | 434 | 9/8/2020 |
0.21.1 | 589 | 6/20/2020 |
0.21.0 | 478 | 5/24/2020 |
0.20.0 | 786 | 4/19/2020 |
0.19.0 | 618 | 4/12/2020 |
0.18.0 | 1,159 | 2/8/2020 |
0.17.0 | 619 | 1/29/2020 |
0.16.0 | 713 | 11/6/2019 |
0.15.0 | 447 | 10/24/2019 |
0.14.0 | 411 | 10/23/2019 |
0.13.0 | 420 | 10/16/2019 |
0.12.0 | 415 | 10/7/2019 |
0.11.1 | 483 | 9/23/2019 |
0.11.0 | 395 | 9/20/2019 |
0.10.0 | 590 | 3/18/2019 |
0.9.0 | 626 | 2/3/2019 |
0.8.1 | 411 | 1/19/2019 |
0.8.0 | 409 | 1/13/2019 |
0.7.1 | 417 | 1/8/2019 |
0.7.0 | 401 | 1/8/2019 |
0.6.2 | 407 | 1/6/2019 |
0.6.1 | 404 | 1/5/2019 |
0.6.0 | 407 | 1/2/2019 |
0.5.1 | 452 | 10/30/2018 |
0.5.0 | 452 | 9/30/2018 |
0.4.0 | 426 | 9/15/2018 |