psmsgraph
1.0.25.42
Provides Connectivity and access to Microsoft Graph API
Minimum PowerShell version
5.0
Installation Options
Author(s)
Mark Kraus
Copyright
(c) 2017. All rights reserved.
Package Details
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
FileList
- psmsgraph.nuspec
- PSMSGraph.psd1
- PSMSGraph.psm1
- Public\Add-AADAppRoleAssignment.ps1
- Public\Export-GraphApplication.ps1
- Public\Export-GraphOauthAccessToken.ps1
- Public\Get-AADGroupByDisplayName.ps1
- Public\Get-AADGroupById.ps1
- Public\Get-AADGroupMember.ps1
- Public\Get-AADServicePrincipalAppRoleAssignedTo.ps1
- Public\Get-AADServicePrinicpalbyDisplayName.ps1
- Public\Get-AADServicePrinicpalbyId.ps1
- Public\Get-AADUserAll.ps1
- Public\Get-AADUserAppRoleAssignment.ps1
- Public\Get-AADUserByID.ps1
- Public\Get-AADUserByUserPrincipalName.ps1
- Public\Get-GraphOauthAccessToken.ps1
- Public\Get-GraphOauthAuthorizationCode.ps1
- Public\Import-GraphApplication.ps1
- Public\Import-GraphOauthAccessToken.ps1
- Public\Invoke-GraphRequest.ps1
- Public\New-GraphApplication.ps1
- Public\New-GraphOauthAccessToken.ps1
- Public\Remove-AADAppRoleAssignment.ps1
- Public\Update-GraphOauthAccessToken.ps1
- Types\MSGraphAPI.Application.ps1
- Types\MSGraphAPI.Oauth.AccessToken.ps1
- Types\MSGraphAPI.Oauth.AuthorizationCode.ps1
- Types\MSGraphAPI.Oauth.Exception.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.0.27.60 | 8,009 | 5/26/2019 |
1.0.26.43 | 3,853 | 4/30/2017 |
1.0.25.42 (current version) | 31 | 4/22/2017 |
1.0.24.41 | 27 | 4/15/2017 |
1.0.23.40 | 54 | 3/5/2017 |
1.0.20.37 | 19 | 3/3/2017 |
1.0.18.35 | 23 | 3/1/2017 |
1.0.15.17 | 18 | 2/27/2017 |
1.0.15.16 | 19 | 2/26/2017 |
1.0.5.8 | 73 | 2/26/2017 |
1.0.4.2 | 21 | 2/25/2017 |