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

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

Install-PSResource -Name psmsgraph -Version 1.0.25.42

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) 2017. All rights reserved.

Package Details

Author(s)

  • Mark Kraus

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

FileList

Version History

Version Downloads Last updated
1.0.27.60 25,670 5/26/2019
1.0.26.43 3,873 4/30/2017
1.0.25.42 (current version) 34 4/22/2017
1.0.24.41 30 4/15/2017
1.0.23.40 57 3/5/2017
1.0.20.37 22 3/3/2017
1.0.18.35 26 3/1/2017
1.0.15.17 21 2/27/2017
1.0.15.16 22 2/26/2017
1.0.5.8 76 2/26/2017
1.0.4.2 25 2/25/2017
Show more