Skip to content

Commit 340eb51

Browse files
AppVeyorAppVeyor
AppVeyor
authored and
AppVeyor
committed
AppVeyor post-build commit[ci skip]
1 parent 8316d84 commit 340eb51

File tree

5 files changed

+101
-106
lines changed

5 files changed

+101
-106
lines changed

PSMSGraph/PSMSGraph.psd1

+27-52
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
RootModule = 'PSMSGraph.psm1'
2121

2222
# Version number of this module.
23-
ModuleVersion = '1.0.24.41'
23+
ModuleVersion = '1.0.25.42'
2424

2525
# ID used to uniquely identify this module
2626
GUID = '15978dcc-d5ad-4024-ab2a-28bdf946ece7'
@@ -129,63 +129,38 @@
129129
# IconUri = ''
130130

131131
# ReleaseNotes of this module
132-
ReleaseNotes = '# Version 1.0.24.41 (2017-04-15)
133-
## Module Manifest
134-
* Cleaned up white space at end of file
135-
132+
ReleaseNotes = '# Version 1.0.25.42 (2017-04-22)
136133
## Functions
137-
### Import-GraphApplication
138-
* Now provides its own error instead of Import-clixml
139-
140-
### Import-GraphOauthAccessToken
141-
* Now provides its own error instead of Import-clixml
142-
143-
### Get-AADGroupMember
144-
* Added ResultsPerPage Paramter to provide access to ''$top'' query filter.
145-
* Addeed .LINK to Get-AADGroupById
146-
* Addeed .LINK to Get-AADGroupByDisplayName
147-
* Added .INPUTS MSGraphAPI.DirectoryObject.Group
148-
* Added .OUTPUTS MSGraphAPI.DirectoryObject.User
149-
150-
### Get-AADGroupById
151-
* Addeed .LINK to Get-AADGroupByDisplayName
152-
* Addeed .LINK to Get-AADGroupMember
153-
154-
### Get-AADGroupByDisplayName
155-
* Addeed .LINK to Get-AADGroupMember
156-
* Addeed .LINK to Get-AADGroupById
157-
158134
### Get-GraphOauthAccessToken
159-
* **Breaking Change**: Removed ```ResultVariable``` and related debugging code that should never have been in production
160-
* Removed ```ResultVariable``` parameter help
161-
* Improved error reporting
162-
* Fixed ```Resource``` parameter documentation
163-
* Imrpoved Example
164-
* Removed dangling ```&``` from ```$Body``` creation
165-
166-
## Build Tools
167-
### psake.ps1
168-
* Block ```staging``` branch recommits so clean pull requests can be made
169-
* Add ```!skiprecommit``` commit tag to block recommits
170-
171-
## Tests
172-
### Get-AADGroupMember.Unit.Tests.ps1
173-
* Created tests for Get-AADGroupMember
135+
* Revised Invoke-WebRequest error handling. Now uses ```MSGraphAPI.Oauth.Exception``` to handle formating
136+
* Simplified error handling for JSON parsing
137+
* Revamped credential object creation for readbility.
138+
* Clean up debug code
174139
175-
### Import-GraphApplication.Unit.Tests.ps1
176-
* Created tests for Import-GraphApplication
140+
## Types
141+
### MSGraphAPI.Oauth.Exception
142+
* Added the ```MSGraphAPI.Oauth.Exception``` type to handle OAuth related ```Invoke-Webrequest``` Exceptions
143+
* New ScriptMethod JSONResponse converts the response stream from the ```Invoke-WebRequest``` exception from JSON to PSObject
177144
178-
### Import-GraphOauthAccessToken.Unit.Tests.ps1
179-
* Created tests for Import-GraphOauthAccessToken
180-
181-
### Get-AADGroupById.Unit.Tests.ps1
182-
* Created tests for Get-AADGroupById
145+
## Test
146+
### Get-GraphOauthAccessToken.Unit.Tests.ps1
147+
* Added missing code coverage for ```Invoke-webRequest``` error handling
148+
* Add missing code coverage for JSON parsing error handling
149+
* Now at 100% code coverage for ```Get-GraphOauthAccessToken```!
183150
184-
### Get-AADGroupByDisplayName.Unit.Tests.ps1
185-
* Created tests for Get-AADGroupByDisplayName
151+
## Built Toolds
152+
### psake.ps1
153+
* Adjust recommit logic in PostDeploy task
154+
* Added ```!forcrecommit``` to override default ignores if needed
155+
* Added ```devlop``` to ignored branch for recommits as constant work in the develop branch leads to staging issues.
156+
* Added comment based help file header.
186157
187-
### Get-GraphOauthAccessToken.Unit.Tests.ps1
188-
* Created tests for Get-GraphOauthAccessToken'
158+
## Documentation
159+
### Get-GraphOauthAccessToken
160+
* Modifyed Description to something useful
161+
* adjusted formating on ```Resource``` parameter
162+
* Added ```Get-GraphOauthAuthorizationCode``` to Notes
163+
* Added ```Get-GraphOauthAuthorizationCode``` to Links'
189164

190165
} # End of PSData hashtable
191166

RELEASE.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Version 1.0.25.42 (2017-04-22)
12
## Functions
23
### Get-GraphOauthAccessToken
34
* Revised Invoke-WebRequest error handling. Now uses ```MSGraphAPI.Oauth.Exception``` to handle formating
@@ -28,4 +29,4 @@
2829
* Modifyed Description to something useful
2930
* adjusted formating on ```Resource``` parameter
3031
* Added ```Get-GraphOauthAuthorizationCode``` to Notes
31-
* Added ```Get-GraphOauthAuthorizationCode``` to Links
32+
* Added ```Get-GraphOauthAuthorizationCode``` to Links

docs/ChangeLog.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
# Version 1.0.25.42 (2017-04-22)
2+
## Functions
3+
### Get-GraphOauthAccessToken
4+
* Revised Invoke-WebRequest error handling. Now uses ```MSGraphAPI.Oauth.Exception``` to handle formating
5+
* Simplified error handling for JSON parsing
6+
* Revamped credential object creation for readbility.
7+
* Clean up debug code
8+
9+
## Types
10+
### MSGraphAPI.Oauth.Exception
11+
* Added the ```MSGraphAPI.Oauth.Exception``` type to handle OAuth related ```Invoke-Webrequest``` Exceptions
12+
* New ScriptMethod JSONResponse converts the response stream from the ```Invoke-WebRequest``` exception from JSON to PSObject
13+
14+
## Test
15+
### Get-GraphOauthAccessToken.Unit.Tests.ps1
16+
* Added missing code coverage for ```Invoke-webRequest``` error handling
17+
* Add missing code coverage for JSON parsing error handling
18+
* Now at 100% code coverage for ```Get-GraphOauthAccessToken```!
19+
20+
## Built Toolds
21+
### psake.ps1
22+
* Adjust recommit logic in PostDeploy task
23+
* Added ```!forcrecommit``` to override default ignores if needed
24+
* Added ```devlop``` to ignored branch for recommits as constant work in the develop branch leads to staging issues.
25+
* Added comment based help file header.
26+
27+
## Documentation
28+
### Get-GraphOauthAccessToken
29+
* Modifyed Description to something useful
30+
* adjusted formating on ```Resource``` parameter
31+
* Added ```Get-GraphOauthAuthorizationCode``` to Notes
32+
* Added ```Get-GraphOauthAuthorizationCode``` to Links
33+
34+
35+
136
# Version 1.0.24.41 (2017-04-15)
237
## Module Manifest
338
* Cleaned up white space at end of file

docs/RELEASE.md

+26-51
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,32 @@
1-
# Version 1.0.24.41 (2017-04-15)
2-
## Module Manifest
3-
* Cleaned up white space at end of file
4-
1+
# Version 1.0.25.42 (2017-04-22)
52
## Functions
6-
### Import-GraphApplication
7-
* Now provides its own error instead of Import-clixml
8-
9-
### Import-GraphOauthAccessToken
10-
* Now provides its own error instead of Import-clixml
11-
12-
### Get-AADGroupMember
13-
* Added ResultsPerPage Paramter to provide access to '$top' query filter.
14-
* Addeed .LINK to Get-AADGroupById
15-
* Addeed .LINK to Get-AADGroupByDisplayName
16-
* Added .INPUTS MSGraphAPI.DirectoryObject.Group
17-
* Added .OUTPUTS MSGraphAPI.DirectoryObject.User
18-
19-
### Get-AADGroupById
20-
* Addeed .LINK to Get-AADGroupByDisplayName
21-
* Addeed .LINK to Get-AADGroupMember
22-
23-
### Get-AADGroupByDisplayName
24-
* Addeed .LINK to Get-AADGroupMember
25-
* Addeed .LINK to Get-AADGroupById
26-
273
### Get-GraphOauthAccessToken
28-
* **Breaking Change**: Removed ```ResultVariable``` and related debugging code that should never have been in production
29-
* Removed ```ResultVariable``` parameter help
30-
* Improved error reporting
31-
* Fixed ```Resource``` parameter documentation
32-
* Imrpoved Example
33-
* Removed dangling ```&``` from ```$Body``` creation
34-
35-
## Build Tools
36-
### psake.ps1
37-
* Block ```staging``` branch recommits so clean pull requests can be made
38-
* Add ```!skiprecommit``` commit tag to block recommits
39-
40-
## Tests
41-
### Get-AADGroupMember.Unit.Tests.ps1
42-
* Created tests for Get-AADGroupMember
4+
* Revised Invoke-WebRequest error handling. Now uses ```MSGraphAPI.Oauth.Exception``` to handle formating
5+
* Simplified error handling for JSON parsing
6+
* Revamped credential object creation for readbility.
7+
* Clean up debug code
438

44-
### Import-GraphApplication.Unit.Tests.ps1
45-
* Created tests for Import-GraphApplication
9+
## Types
10+
### MSGraphAPI.Oauth.Exception
11+
* Added the ```MSGraphAPI.Oauth.Exception``` type to handle OAuth related ```Invoke-Webrequest``` Exceptions
12+
* New ScriptMethod JSONResponse converts the response stream from the ```Invoke-WebRequest``` exception from JSON to PSObject
4613

47-
### Import-GraphOauthAccessToken.Unit.Tests.ps1
48-
* Created tests for Import-GraphOauthAccessToken
49-
50-
### Get-AADGroupById.Unit.Tests.ps1
51-
* Created tests for Get-AADGroupById
14+
## Test
15+
### Get-GraphOauthAccessToken.Unit.Tests.ps1
16+
* Added missing code coverage for ```Invoke-webRequest``` error handling
17+
* Add missing code coverage for JSON parsing error handling
18+
* Now at 100% code coverage for ```Get-GraphOauthAccessToken```!
5219

53-
### Get-AADGroupByDisplayName.Unit.Tests.ps1
54-
* Created tests for Get-AADGroupByDisplayName
20+
## Built Toolds
21+
### psake.ps1
22+
* Adjust recommit logic in PostDeploy task
23+
* Added ```!forcrecommit``` to override default ignores if needed
24+
* Added ```devlop``` to ignored branch for recommits as constant work in the develop branch leads to staging issues.
25+
* Added comment based help file header.
5526

56-
### Get-GraphOauthAccessToken.Unit.Tests.ps1
57-
* Created tests for Get-GraphOauthAccessToken
27+
## Documentation
28+
### Get-GraphOauthAccessToken
29+
* Modifyed Description to something useful
30+
* adjusted formating on ```Resource``` parameter
31+
* Added ```Get-GraphOauthAuthorizationCode``` to Notes
32+
* Added ```Get-GraphOauthAuthorizationCode``` to Links

docs/functions/Get-GraphOauthAccessToken.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ Get-GraphOauthAccessToken [-AuthenticationCode] <Object> [[-BaseURL] <String>] [
1111
```
1212

1313
## DESCRIPTION
14-
A detailed description of the Get-GraphOauthAccessToken function.
14+
Takes an OAuth Acces Authorization code returned from Get-GraphOauthAuthorizationCode and
15+
requests an OAuth Access Token for the provided resource from Microsoft.
16+
A
17+
MSGraphAPI.Oauth.AccessToken object is returned.
18+
This object is required for making calls
19+
to Invoke-GraphRequest and many other functions provided by this module.
1520

1621
## EXAMPLES
1722

@@ -79,7 +84,8 @@ You must set the resource to match the endpoints your token will be valid for.
7984
Azure AD Graph API: https://graph.windows.net
8085
Office 365 Unified Mail API: https://outlook.office.com
8186
82-
If you need to access more than one resrouce, you will need to request multiple OAuth Access Tokens and use the correct tokens for the correct endpoints.
87+
If you need to access more than one resrouce, you will need to request multiple OAuth Access
88+
Tokens and use the correct tokens for the correct endpoints.
8389
8490
```yaml
8591
Type: String
@@ -131,6 +137,7 @@ Accept wildcard characters: False
131137
### MSGraphAPI.Oauth.AccessToken
132138
133139
## NOTES
140+
See Get-GraphOauthAuthorizationCode for obtaining a OAuth Authorization code.
134141
See Export-GraphOauthAccessToken for exporting Graph Acess Token Objects
135142
See Import-GraphOauthAccessToken for importing exported Graph AcessToken Objects
136143
See Update-GraphOauthAccessToken for refreshing the Graph Access Token
@@ -139,6 +146,8 @@ See Update-GraphOauthAccessToken for refreshing the Graph Access Token
139146
140147
[http://psmsgraph.readthedocs.io/en/latest/functions/Get-GraphOauthAccessToken](http://psmsgraph.readthedocs.io/en/latest/functions/Get-GraphOauthAccessToken)
141148
149+
[http://psmsgraph.readthedocs.io/en/latest/functions/Get-GraphOauthAuthorizationCode](http://psmsgraph.readthedocs.io/en/latest/functions/Get-GraphOauthAuthorizationCode)
150+
142151
[http://psmsgraph.readthedocs.io/en/latest/functions/Export-GraphOauthAccessToken](http://psmsgraph.readthedocs.io/en/latest/functions/Export-GraphOauthAccessToken)
143152
144153
[http://psmsgraph.readthedocs.io/en/latest/functions/Import-GraphOauthAccessToken](http://psmsgraph.readthedocs.io/en/latest/functions/Import-GraphOauthAccessToken)

0 commit comments

Comments
 (0)