psmsgraph

1.0.25.42

Provides Connectivity and access to Microsoft Graph API

Minimum PowerShell version

5.0

Installation Options

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

Install-Module -Name psmsgraph -RequiredVersion 1.0.25.42

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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)

Mark Kraus

Copyright

(c) 2017. All rights reserved.

Owners

Tags

Graph GraphAPI MSGraph MSGraphAPI PSMSGraph PSMSGraphAPI MicrosoftGraph MicrosoftGraphAPI API OAuth REST CRUD

Functions

Add-AADAppRoleAssignment Export-GraphApplication Export-GraphOauthAccessToken Get-AADGroupByDisplayName Get-AADGroupByID Get-AADGroupMember Get-AADServicePrincipalAppRoleAssignedTo Get-AADServicePrinicpalbyDisplayName Get-AADServicePrinicpalbyId Get-AADUserAll Get-AADUserAppRoleAssignment Get-AADUserByID Get-AADUserByUserPrincipalName Get-GraphOauthAccessToken Get-GraphOauthAuthorizationCode Import-GraphApplication Import-GraphOauthAccessToken Invoke-GraphRequest New-GraphApplication New-GraphOauthAccessToken Remove-AADAppRoleAssignment Update-GraphOauthAccessToken

Dependencies

This module has no dependencies.

Release Notes

# Version 1.0.25.42 (2017-04-22)
## Functions
### Get-GraphOauthAccessToken
* Revised Invoke-WebRequest error handling. Now uses ```MSGraphAPI.Oauth.Exception``` to handle formating
* Simplified error handling for JSON parsing
* Revamped credential object creation for readbility.
* Clean up debug code

## Types
### MSGraphAPI.Oauth.Exception
* Added the ```MSGraphAPI.Oauth.Exception``` type to handle OAuth related ```Invoke-Webrequest``` Exceptions
* New ScriptMethod JSONResponse converts the response stream from the ```Invoke-WebRequest``` exception from JSON to PSObject

## Test
### Get-GraphOauthAccessToken.Unit.Tests.ps1
* Added missing code coverage for ```Invoke-webRequest``` error handling
* Add missing code coverage for JSON parsing error handling
* Now at 100% code coverage for ```Get-GraphOauthAccessToken```!

## Built Toolds
### psake.ps1
* Adjust recommit logic in PostDeploy task
* Added ```!forcrecommit``` to override default ignores if needed
* Added ```devlop``` to ignored branch for recommits as constant work in the develop branch leads to staging issues.
* Added comment based help file header.

## Documentation
### Get-GraphOauthAccessToken
* Modifyed Description to something useful
* adjusted formating on ```Resource``` parameter
* Added ```Get-GraphOauthAuthorizationCode``` to Notes
* Added ```Get-GraphOauthAuthorizationCode``` to Links

Version History

Version Downloads Last updated
1.0.27.60 1,319 5/26/2019
1.0.26.43 3,741 4/30/2017
1.0.25.42 (current version) 19 4/22/2017
1.0.24.41 15 4/15/2017
1.0.23.40 42 3/5/2017
1.0.20.37 7 3/3/2017
1.0.18.35 10 3/1/2017
1.0.15.17 6 2/27/2017
1.0.15.16 6 2/26/2017
1.0.5.8 52 2/26/2017
1.0.4.2 8 2/25/2017