poshgraph-sdk

0.2.0

PowerShell SDK for Microsoft Graph interaction

Minimum PowerShell version

5.0

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name poshgraph-sdk -RequiredVersion 0.2.0

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

Install-PSResource -Name poshgraph-sdk -Version 0.2.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) 2018 Adam Edwards.

Package Details

Author(s)

  • Adam Edwards

Tags

MSGraph Graph AADGraph Azure MicrosoftGraph Microsoft-Graph MS-Graph AAD-Graph REST CRUD GraphAPI

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

Dependencies

Release Notes

# PoshGraph-SDK 0.2.0 Release Notes

## New features

### Cmdlet features

* `Connect-Graph` cmdlet: `-Reconnect` option to reconnect a previously disconnected Graph
* `Connect-Graph` cmdlet: `-ScopeNames` supported with -Reconnect for permission elevation scenarios
* `Connect-Graph` is now deterministic -- no longer based on context unless you specify `-Reconnect`
* `Disconnect-Graph` is now deterministic -- it removes cached tokens so that subsequent connection attempts behave as if it's the very first attempt
* `New-GraphConnection` cmdlet: `-AuthProtocol` option configures authentication protocol to overridde defaults if needed
* `New-GraphConnection` cmdlet: `-RedirectUri` option allows the use of custom applications with a particular redirect URI
* `New-GraphConnection` cmdlet: `-TenantName` option allows the use of custom non-converged applications that require the tenant (including 'organizations') to be specified during authentication

### Library features

* `GraphIdentity` now takes a `TenantName` argument to support v1 tenant-scoped applications
* `GraphIdentity` exposes a `GetUserInformation` method to return data about the authenticated user (if any)
* `GraphEndpoint` exposes a `GetAuthUri` method to return the URI for obtaining access tokens

## Fixed defects

* `Get-GraphItem`, `Invoke-GraphRequest` were ignoring `-Version` option -- these commands could only access the Graph `v1.0` API version
* National cloud support through `-Cloud` arguments now works in commands like `Connect-Graph`, `New-GraphConnection`, etc.
* Fix ignored scopes when `-ScopeNames` was specified with `Connect-Graph`
* Fix over-specification of parameters for `New-GraphConnection` due to missing default parameterset
* Fix exception in `Disconnect-Graph` cmdlet due to call to removed method
*

FileList

Version History

Version Downloads Last updated
0.3.2 707 9/22/2018
0.3.1 13 9/22/2018
0.3.0 31 9/9/2018
0.3.0-preview 11 9/9/2018
0.2.0 (current version) 39 8/23/2018
0.2.0-preview 12 8/23/2018
0.1.3 27 8/16/2018
0.1.2 13 8/16/2018
0.1.1 19 8/15/2018
Show more