Skip to content

Pull in the latest from preview into websites-preview #5592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
648e2e3
update 2 cmdlets for add-on storage
Sep 6, 2017
3f9629c
renamed Add-AzureRmAccount as Connect-AzureRmAccount and Remove-Azure…
KirkMunro Oct 30, 2017
9d62557
merged upstream changes
KirkMunro Oct 30, 2017
a493732
pulled upstream changes
KirkMunro Oct 31, 2017
719e3fe
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
KirkMunro Oct 31, 2017
36ca2c9
added and cleaned up static analysis exceptions
KirkMunro Oct 31, 2017
bcdbce3
Merge branch 'preview' into use-connect-and-disconnect-verbs
cormacpayne Nov 1, 2017
1336843
Added VMSS Simple cmdlet
Dec 8, 2017
2b40e9b
Fixed plural in help file.
Dec 8, 2017
c7569a0
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
cormacpayne Dec 11, 2017
d896b77
Merge branch 'release-5.1.0' of https://github.com/Azure/azure-powers…
cormacpayne Dec 11, 2017
f7e2266
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
cormacpayne Dec 11, 2017
b7ef8f2
Merge pull request #1 from cormacpayne/use-connect-and-disconnect-verbs
KirkMunro Dec 11, 2017
6ed5eec
Fixed added tests that used old class name
KirkMunro Dec 12, 2017
8b71493
Merge branch 'preview' of github.com:Azure/azure-powershell into rele…
Dec 12, 2017
8777f60
Moved BackendAddressPool and FrontendIPConfiguration to Nested Resour…
Dec 12, 2017
53fc1f9
Simplified Nester Resource config.
sergey-shandar Dec 13, 2017
e10a1eb
Merge pull request #3 from sergey-shandar/sergey-hovsepm-nestedresource
Dec 13, 2017
0524942
Merge branch 'release-5.1.0' of https://github.com/hovsepm/azure-powe…
Dec 13, 2017
8200b57
Merge branch 'sergey-newvmtest' of https://github.com/sergey-shandar/…
Dec 13, 2017
fc8643f
Added VMSS Simple cmdlet test
Dec 13, 2017
76ce075
Geo DR Updates
Dec 18, 2017
c1cbdfe
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Dec 18, 2017
6c51753
updated Breakingchangesissue.csv
Dec 18, 2017
501daec
fixed build breaks.
Dec 18, 2017
ff58de2
Merge branch 'vmss-tests' of https://github.com/hovsepm/azure-powersh…
Dec 19, 2017
752353b
Addressed review comments.
Dec 19, 2017
dcda7c0
Merge branch 'preview' into release-5.1.0
markcowl Dec 20, 2017
7b68744
Merge branch 'preview' into release-5.1.0
markcowl Dec 20, 2017
a8005f7
Addressed code review feedbacks.
Dec 20, 2017
ccda298
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Dec 20, 2017
5ec4f39
Merge branch 'release-5.1.0' of https://github.com/hovsepm/azure-powe…
Dec 20, 2017
dc2c2f5
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Dec 21, 2017
be4baa0
Added more asserts in tests and addressed review comments.
Dec 21, 2017
4eac1f0
Review comments updated
Dec 30, 2017
6255621
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Dec 30, 2017
d593729
Breaking change exceptions
Dec 30, 2017
b54d44f
updated session records for failing test
Dec 31, 2017
ea24b5c
Breakingchangesissues exception fixed and few review comments addressed
Jan 3, 2018
dfdaf87
Add license type for managed integration runtime
HaoQian-MS Jan 5, 2018
306e42c
add private sdk
HaoQian-MS Jan 9, 2018
b6a7b67
update changelog, test, helpm
HaoQian-MS Jan 10, 2018
1eb7768
change tab to space in test
HaoQian-MS Jan 10, 2018
6f0d828
support defaultserviceversion
blueww Nov 3, 2017
e7acd29
Add Unit test for the Storage ServiceProperties parse functions.
blueww Jan 10, 2018
154c68f
Fix PowerBI doc
selasagi Jan 16, 2018
59f71f2
Fix PowerBI doc
selasagi Jan 16, 2018
74ae8b7
initial checkin to public repo for new cmdlets
JCookit Jan 16, 2018
623f7f0
Merge remote-tracking branch 'upstream/preview' into preview
JCookit Jan 16, 2018
fd6415f
merge from upstream and rerun unittests
JCookit Jan 16, 2018
d4cfc4e
Redis Cache: 6 new cmdlets and update to existing cmdlets
Jan 17, 2018
1927989
added mapping rule
JCookit Jan 17, 2018
830b7f9
fix help
HaoQian-MS Jan 17, 2018
ee0abd3
Change Set-AzureStorageServiceProperty to Update-AzureStorageServiceP…
blueww Jan 17, 2018
ac49f76
fix two issues
azdevxps Jan 17, 2018
9072509
update help
azdevxps Jan 17, 2018
f3b8b53
update changelog
azdevxps Jan 17, 2018
1b81e52
Review Comments
Jan 18, 2018
ada1197
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Jan 18, 2018
4ae92fa
address comments
azdevxps Jan 18, 2018
23a6f81
REview Comments updated with session records
Jan 18, 2018
520c21b
add obsolete message
azdevxps Jan 18, 2018
ba6d29d
Removing BCL Imports
Jan 18, 2018
ea2c7cb
per feedback:
JCookit Jan 18, 2018
94f7f98
per feedback:
JCookit Jan 18, 2018
b82e227
Add -AsJob to KeyVault cmdlets
azdevxps Jan 18, 2018
114792d
False positive static analysis errors
Jan 18, 2018
f8d35fb
Fixing storage script for compute tests
Jan 18, 2018
4e305f6
Complete refactor/rewrite of automation setup scripts.
MiYanni Jan 19, 2018
19027c5
Modification of a few scenario tests for RPs. This allowed them to su…
MiYanni Jan 19, 2018
18ebcae
temp
HaoQian-MS Jan 19, 2018
560f417
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
HaoQian-MS Jan 19, 2018
aa6b901
add test
HaoQian-MS Jan 19, 2018
09325a8
fix
HaoQian-MS Jan 19, 2018
bfcefb5
Support ManagedServiceLogin in Add-AzureRmAccount
markcowl Jan 19, 2018
2f68a6b
Merge pull request #5219 from wastoresh/defaultserviceversion
cormacpayne Jan 19, 2018
2ea0630
Update CreateMappings_rules.json
cormacpayne Jan 19, 2018
75ab8ef
Merge pull request #5298 from maddieclayton/obsoletealias
cormacpayne Jan 19, 2018
733b536
Merge branch 'preview' into release-5.1.0
markcowl Jan 19, 2018
dd831c0
Updating help descriptions for VMSS simple patrameter set
markcowl Jan 19, 2018
03f08dd
Merge pull request #5227 from markcowl/msilogin
Jan 19, 2018
ee8c8b4
Merge pull request #5283 from selasagi/pbi-embedded
Jan 19, 2018
cb07358
Update azure-powershell-modules.md
cormacpayne Jan 19, 2018
b9a0810
In help file, provide default parameter values, fix syntax error, and…
markcowl Jan 19, 2018
e5316aa
Added ValidateNotNullOrEmpty for ResourceGroupName, Modified change l…
Jan 19, 2018
daca9c7
Fixing help, Removing common ref from csproj and packages
Jan 19, 2018
d98e27e
Updating the ADF SDK nuget to the latest and adding release notes
hvermis Jan 19, 2018
32d67b0
Merge pull request #5317 from Azure/update-module-list
Jan 20, 2018
f0b3113
Fix typo in markdown file
markcowl Jan 20, 2018
41da008
Created the session records for tests that I modified. Changes to the…
MiYanni Jan 20, 2018
3e0f5bb
Reverting ValidateNotNullOrEmpty from GetAzureRedisCache as it might …
Jan 20, 2018
3af2948
Fix solution files for signing failures
markcowl Jan 20, 2018
1ffba17
Fix solution for reservations project
markcowl Jan 20, 2018
17ab33c
Reverted changes made to json paths for DeploymentTests.ps1 (the test…
MiYanni Jan 20, 2018
a7a5677
Merge pull request #5292 from maddieclayton/operationsearchstring
markcowl Jan 20, 2018
5821259
Merge pull request #5315 from markcowl/vmsssimple
markcowl Jan 20, 2018
479ad5b
Reverted module version
hvermis Jan 20, 2018
934becc
Merge pull request #5300 from maddieclayton/keyvaultasjob
Jan 20, 2018
fa6aa01
Merge pull request #5285 from SiddharthChatrolaMs/preview
Jan 20, 2018
b775d54
per feedback:
JCookit Jan 21, 2018
8f406b8
Merge pull request #5322 from hvermis/preview
markcowl Jan 22, 2018
155f41b
Merge pull request #5323 from markcowl/fixsln
markcowl Jan 22, 2018
005396a
delete private sdk
HaoQian-MS Jan 22, 2018
45a4673
Adding UseOriginalStorageAccountForDiskRestore parameter to Restore c…
Jan 19, 2018
9b775d2
[RecoveryServices.Backup] Updating param name and changelog.
Jan 19, 2018
f7b188d
[RS.Backup] Removed Position from UseOriginalStorageAccount switch pa…
Jan 22, 2018
69bc45c
Merge branch 'preview' into preview
cormacpayne Jan 22, 2018
205cea9
[RS.Backup] Update help text for -UseOriginalStorageAccount parameter…
Jan 22, 2018
eef6f6a
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Jan 22, 2018
3baac41
Merge pull request #5245 from HaoQian-MS/preview
cormacpayne Jan 22, 2018
8cfd729
Merge pull request #5310 from MabOneSdk/osarestore
cormacpayne Jan 22, 2018
d44f861
'Run the test' link
MiYanni Jan 22, 2018
a7e67fc
Revert KeyVault cmdlets to use Hyak Graph library
markcowl Jan 22, 2018
08ce332
Update Set-AzureRmVMOSDisk to support Managed OS Disk Swap
hyonholee Jan 22, 2018
41f9845
resolve merge conflicts
azdevxps Jan 22, 2018
bdca2c6
Update module version for 2018-01-26 release of Azure PowerShell
cormacpayne Jan 22, 2018
29a1793
Serialize module metadata
cormacpayne Jan 22, 2018
b579354
Fix Type in KeyVaultManagementBase and update solution to include mod…
markcowl Jan 22, 2018
e8da0b4
Fix Travis build issues
markcowl Jan 22, 2018
9d12ac0
revert changes to breakingchanges.csv
azdevxps Jan 22, 2018
e8d1595
remove other changes to exceptions files
azdevxps Jan 22, 2018
2cf67c9
Update DataFactory projects and AzureRM
cormacpayne Jan 22, 2018
7796b9e
Merge pull request #5333 from Azure/MiYanni-patch-1
Jan 22, 2018
43e59a3
"US West" to "West US"
MiYanni Jan 23, 2018
c482a15
Fix issue with IotHub
cormacpayne Jan 23, 2018
a4b09ae
Merge pull request #5336 from Azure/MiYanni-patch-1
Jan 23, 2018
ab8d723
revert unneeded changes
azdevxps Jan 23, 2018
2a4ab91
Merge pull request #5334 from markcowl/kvgraphfix
markcowl Jan 23, 2018
a981b7d
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
cormacpayne Jan 23, 2018
e79ad99
Merge branch 'preview' into TestAutomation
MiYanni Jan 23, 2018
2030644
Update reference to EventGrid to AzureRM.psd1
cormacpayne Jan 23, 2018
de73129
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Jan 23, 2018
1e370ec
EventHun Review Comments
Jan 24, 2018
4e080b6
updated markdownhelp
Jan 24, 2018
1eda719
Updated with InputObject, ResourceID and MarkDownHelp
Jan 24, 2018
83b43a3
Merge pull request #5346 from stevestein/SqlDbAddOnStorage
Jan 24, 2018
7f4b383
add alias
azdevxps Jan 24, 2018
d7ed90a
test error
azdevxps Jan 24, 2018
ab23620
add file
azdevxps Jan 24, 2018
116755e
fix build.proj
azdevxps Jan 24, 2018
7745e27
fix build
azdevxps Jan 24, 2018
5b3479b
Remove unused properties
Jan 24, 2018
bc7dee6
Updated to use the 1.2.0-preview version of the EventGrid Management …
kalyanaj Jan 24, 2018
c118dec
revert error
azdevxps Jan 25, 2018
3974402
Merge pull request #5352 from fanymanea/preview
Jan 25, 2018
fde94d8
address PR comments
azdevxps Jan 25, 2018
f081465
Re-recorded the tests.
kalyanaj Jan 25, 2018
1f9c902
fix PR comments
azdevxps Jan 25, 2018
03aa72f
Reverted the module version number updates.
kalyanaj Jan 25, 2018
d6c5aad
Spelling corrections...
andynava Jan 25, 2018
a818a7a
Typo in documentation for Port.
BrandonBoone Jan 26, 2018
91f1896
Merge pull request #5370 from andresnava/patch-1
Jan 26, 2018
893395e
Merge branch 'preview' into TestAutomation
MiYanni Jan 26, 2018
7351fde
Fix typos
bannus Jan 26, 2018
6e37927
Update TestMappings.json
cormacpayne Jan 26, 2018
428fbf0
Merge pull request #5335 from cormacpayne/release-2018-01-26
cormacpayne Jan 26, 2018
c58ee6a
Merge pull request #5351 from maddieclayton/SAdoc
cormacpayne Jan 26, 2018
01c0dde
Merge pull request #5377 from bannus/typo-patch
cormacpayne Jan 26, 2018
d1db571
Revert changes made to TestMappings.json
cormacpayne Jan 26, 2018
a34ca2b
Changes made based on markcowl comments.
MiYanni Jan 27, 2018
4a71042
updated Review comments and Markdown files
Jan 29, 2018
68e9498
Review Comments and markdown files updated
Jan 29, 2018
db3cd7a
Correct error in ResourceGroup Parameter Description
sam-cogan Jan 29, 2018
60b0cd5
Merge branch 'preview' into TestAutomation
MiYanni Jan 29, 2018
4501b79
Merge pull request #5284 from JCookit/preview
markcowl Jan 29, 2018
71f221e
Merge pull request #5375 from BrandonBoone/patch-1
markcowl Jan 29, 2018
cf569b5
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Jan 29, 2018
d0464dd
The test was failing from the recording during playback. Then, it was…
MiYanni Jan 29, 2018
bb03304
Merge pull request #5388 from Azure/release-5.2.0
cormacpayne Jan 29, 2018
359c7a6
Merge pull request #5391 from Azure/master
cormacpayne Jan 29, 2018
cce6dc7
Update version of AzureRM.Profile in AzureRM.LocationBasedServices
cormacpayne Jan 29, 2018
5584981
Merge branch 'preview' into preview
cormacpayne Jan 29, 2018
4e3e048
Remove ValueFromPipelineByPropertyName setting from all parameters fr…
hyonholee Jan 29, 2018
c101f6f
Merge branch 'preview' into use-connect-and-disconnect-verbs
Jan 29, 2018
0d952c1
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Jan 29, 2018
c47b208
Merge pull request #5301 from MiYanni/TestAutomation
markcowl Jan 30, 2018
2a1c5ce
Merge pull request #5347 from v-Ajnava/EHGeoDR_2017
Jan 30, 2018
dfa9e13
Merge pull request #4888 from KirkMunro/use-connect-and-disconnect-verbs
Jan 30, 2018
b4c9224
Merge pull request #5393 from Azure/update-lbs
cormacpayne Jan 30, 2018
ea8f48c
Update New-AzureRmSqlDatabaseCopy.md
cormacpayne Jan 30, 2018
d17b33b
Update Commands.EventGrid.Test.csproj to use latest EventHub SDK
cormacpayne Jan 30, 2018
a8023de
Update EventGrid test packages.config to use latest version of EventH…
cormacpayne Jan 30, 2018
2c24733
Re-recorded the tests to include the Update scenario.
kalyanaj Jan 30, 2018
6cfdc4f
Merge branch 'preview' of https://github.com/azure/azure-powershell i…
kalyanaj Jan 30, 2018
209856d
Fixed a merge issue in changelog.md.
kalyanaj Jan 30, 2018
6b92c2e
Merge branch 'preview' of https://github.com/kalyanaj/azure-powershel…
kalyanaj Jan 30, 2018
9b342d2
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Jan 30, 2018
0606a3a
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Jan 30, 2018
382a0a2
corrected markdown Set-AzureRmServiceBusQueue.md
Jan 30, 2018
cde0c4e
Re-recorded the tests (had missed binplacing the PS test before recor…
kalyanaj Jan 30, 2018
4b63d47
Merge pull request #5395 from Azure/update-eventhub
cormacpayne Jan 30, 2018
2c0c0c9
Merge branch 'preview' into preview
cormacpayne Jan 30, 2018
633f4b6
Merge pull request #5385 from sam-cogan/patch-2
cormacpayne Jan 30, 2018
922943d
Review comments
Jan 30, 2018
e537472
Merge pull request #5304 from hyonholee/osswap
markcowl Jan 31, 2018
eca86b9
Update EventHub version used in Commands.IotHub.Test
cormacpayne Jan 31, 2018
25da291
Update EventHub version used in IotHub test packages.config
cormacpayne Jan 31, 2018
1014bb2
Merge pull request #5398 from Azure/update-eventhub
cormacpayne Jan 31, 2018
7d0de45
updated online help links for geodr
Jan 31, 2018
334b265
Merge pull request #5156 from v-Ajnava/SBGeoDR_2017
Jan 31, 2018
431940f
updated online version links in markdown files
Jan 31, 2018
7ffa51e
Merge pull request #5405 from v-Ajnava/EHGeoDR_2017
Jan 31, 2018
dfdafe8
Merge pull request #5367 from kalyanaj/preview
cormacpayne Jan 31, 2018
53a57c1
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
cormacpayne Feb 1, 2018
a224304
Fix bug in tooling around PowerShellGet 1.6.0
cormacpayne Feb 1, 2018
f1cfa69
Rename debugging-staticanalysis-errors.md to Debugging-StaticAnalysis…
Feb 1, 2018
e64bca0
Updating solution files for new common code module sand publish scrip…
markcowl Feb 1, 2018
dd6bd05
Update storage solution
markcowl Feb 1, 2018
0dd8638
Merge branch 'updatesign' of https://github.com/markcowl/azure-powers…
cormacpayne Feb 1, 2018
132cb06
Re-recording RemoveWebAppTest & adding the changes from pull request …
panchagnula Feb 21, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,8 @@ FakesAssemblies/
*.GhostDoc.xml
pingme.txt
groupMapping*.json
.vscode/
.vscode/
/tools/AutomationTestFramework/RunBooks
/tools/AutomationTestFramework/TestHelpers/TestHelpers.zip
Results
Package
243 changes: 241 additions & 2 deletions ChangeLog.md

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ If you use both mechanisms on the same subscription, Microsoft Azure Active Dire

```powershell
# Interactive login - you will get a dialog box asking for your Azure credentials
Add-AzureRmAccount
Connect-AzureRmAccount

# Non-interactive login - use service principals
Add-AzureRmAccount -ServicePrincipal -ApplicationId "http://my-app" -Credential $pscredential -TenantId $tenantid
Connect-AzureRmAccount -ServicePrincipal -ApplicationId "http://my-app" -Credential $pscredential -TenantId $tenantid

# Use the cmdlets to manage your services/applications
New-AzureRmResourceGroup -Name myresourceGroup -Location "West US"
Expand All @@ -144,7 +144,7 @@ New-AzureRmResourceGroup -Name myresourceGroup -Location "West US"
### Microsoft Azure China

```powershell
Add-AzureRmAccount -EnvironmentName AzureChinaCloud
Connect-AzureRmAccount -EnvironmentName AzureChinaCloud

# Use the cmdlets to manage your services/applications
New-AzureRmResourceGroup -Name myresourceGroup -Location "China East"
Expand All @@ -153,7 +153,7 @@ New-AzureRmResourceGroup -Name myresourceGroup -Location "China East"
### Microsoft Azure US Government

```powershell
Add-AzureRmAccount -EnvironmentName AzureUSGovernment
Connect-AzureRmAccount -EnvironmentName AzureUSGovernment

# Use the cmdlets to manage your services/applications
New-AzureRmResourceGroup -Name myresourceGroup -Location "US Gov Virginia"
Expand All @@ -162,7 +162,7 @@ New-AzureRmResourceGroup -Name myresourceGroup -Location "US Gov Virginia"
### Microsoft Azure Germany

```powershell
Add-AzureRmAccount -EnvironmentName AzureGermanCloud
Connect-AzureRmAccount -EnvironmentName AzureGermanCloud

# Use the cmdlets to manage your services/applications
New-AzureRmResourceGroup -Name myresourceGroup -Location "Germany Central"
Expand Down
2 changes: 1 addition & 1 deletion TestMappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,4 @@
"src/ResourceManager/ApplicationInsights/": [
".\\src\\ResourceManager\\ApplicationInsights\\Commands.ApplicationInsights.Test\\bin\\Debug\\Microsoft.Azure.Commands.ApplicationInsights.Test.dll"
]
}
}
5 changes: 5 additions & 0 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,11 @@
<Message Importance="high" Text="Running Dependency Analysis..." />
<Exec Command="$(MSBuildProjectDirectory)\src\Package\StaticAnalysis.exe $(MSBuildProjectDirectory)\src\Package\$(Configuration) $(MSBuildProjectDirectory)\src\Package true $(SkipHelp)" Condition="'$(Latest)' == 'true'"/>
<Exec Command="$(MSBuildProjectDirectory)\src\Package\StaticAnalysis.exe $(MSBuildProjectDirectory)\src\Stack\$(Configuration) $(MSBuildProjectDirectory)\src\Stack" Condition="'$(Stack)' == 'true'" ContinueOnError="True"/>
<OnError ExecuteTargets="StaticAnalysisErrorMessage"/>
</Target>

<Target Name="StaticAnalysisErrorMessage">
<Error Text="StaticAnalysis has failed. Please follow the instructions on this doc: https://github.com/Azure/azure-powershell/blob/preview/documentation/Debugging-StaticAnalysis-Errors.md"/>
</Target>

<!-- Publish all packages -->
Expand Down
47 changes: 47 additions & 0 deletions documentation/Debugging-StaticAnalysis-Errors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Debugging StaticAnalysis Errors

Our StaticAnalysis tools help us ensure our modules follow PowerShell guidelines and prevent breaking changes from occurring outside of breaking change releases.

- [How to know if you have a StaticAnalysis Error](#how-to-know-if-you-have-a-staticanalysis-error)
- [Where to find StaticAnalysis reports](#where-to-find-staticanalysis-reports)
- [Types of StaticAnalysis Errors](#types-of-staticanalysis-errors)
- [Breaking Changes](#breaking-changes)
- [Signature Issues](#signature-issues)
- [Help Issues](#help-issues)

## How to know if you have a StaticAnalysis Error
If your build is failing, click on the Jenkins job inside the PR (marked as "Default" within checks). Then check the Console Output within the Jenkins job. If you have this error, then you have failed StaticAnalysis:
```
d:\workspace\powershell\build.proj(511,5): error MSB3073: The command "d:\workspace\powershell\src\Package\StaticAnalysis.exe d:\workspace\powershell\src\Package\Debug d:\workspace\powershell\src\Package true false" exited with code 255.
```

## Where to find StaticAnalysis reports

The StaticAnalysis reports could show up in two different places in the CI build:
- On the status page in Jenkins, under the Build Artifacts: the relevant files are BreakingChangeIssues.csv, SignatureIssues.csv, and/or HelpIssues.csv.
- On the status page in Jenkins, click Build Artifacts then navigate to src/Package. You will see BreakingChangeIssues.csv, SignatureIssues.csv, and/or HelpIssues.csv.

Locally, the StaticAnalysis report will show up under Azure-PowerShell/src/Package. You will see BreakingChangeIssues.csv, SignatureIssues.csv, and/or HelpIssues.csv. You can generate these files by running
```
msbuild build.proj
```

## Types of StaticAnalysis Errors
The three most common Static Analysis errors are breaking changes, signature issues, and help issues. To figure out which type of error is causing the build failure, open each of the relevant .csv files (if the .csv file does not exist, there is no violation detected). Any issue marked with severity 0 or 1 must be resolved in order for the build to pass.

### Breaking Changes
If you make a change that could cause a breaking change, it will be listed in BreakingChangeIssues.csv. Please look at each of these errors, and if they do indeed introduce a breaking change in a non-breaking change release, please revert the change that caused this violation. Sometimes the error listed in the .csv file can be a false positive (for example, if you change a parameter attribute to span all parameter sets rather than individual parameter sets). Please read the error thoroughly and examine the relevant code before deciding that an error is a false positive, and contact the Azure PowerShell team if you have questions. If you are releasing a preview module, are releasing during a breaking change release, or have determined that the error is a false positive, please follow these instructions:
- Copy each of the errors you would like to suppress directly from the BreakingChangeIssues.csv file output in the Jenkins build
- Paste each of these error into the [BreakingChangeIssues.csv file](https://github.com/Azure/azure-powershell/blob/preview/tools/StaticAnalysis/Exceptions/BreakingChangeIssues.csv) in our GitHub repo. Note that you will need to edit this file in a text editor rather than Excel to prevent parsing errors.
- Push the changes to the .csv file and ensure the errors no longer show up in the BreakingChangeIssues.csv file output from the Jenkins build.

We take breaking changes very seriously, so please be mindful about the violations that you suppress in our repo.

### Signature Issues
Signature issues occur when your cmdlets do not follow PowerShell standards. Please check [this page](https://github.com/Azure/azure-powershell/wiki/PowerShell-Cmdlet-Design-Guidelines) to ensure you are following PowerShell guidelines. Issues with severity 0 or 1 must be addressed, while issues with severity 2 are advisory. If you have an issue with severity 0 or 1 that has been approved by the Azure PowerShell team, you can suppress them following these steps:
- Copy each of the errors you would like to suppress directly from the SignatureIssues.csv file output in the Jenkins build
- Paste each of these error into the [SignatureIssues.csv file](https://github.com/Azure/azure-powershell/blob/preview/tools/StaticAnalysis/Exceptions/SignatureIssues.csv) in our GitHub repo. Note that you will need to edit this file in a text editor rather than Excel to prevent parsing errors.
- Push the changes to the .csv file and ensure the errors no longer show up in the SignatureIssues.csv file output from the Jenkins build.

### Help Issues
Most help issues that cause StaticAnalysis to fail occur when help has not been added for a particular cmdlet. If you have not generated help for your new cmdlets, please follow the instructions [here](https://github.com/Azure/azure-powershell/blob/preview/documentation/help-generation.md). If this is not the issue, follow the steps listed under "Remediation" for each violation listed in HelpIssues.csv.
2 changes: 1 addition & 1 deletion documentation/Using-Azure-TestFramework.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ To use this option, set the following environment variable before starting Visua

## Record or Playback Tests

1. Run the test and make sure that you got a generated .json file that matches the test name in the bin folder under *SessionRecords folder
1. [Run the test](https://github.com/Azure/azure-powershell/wiki/Azure-Powershell-Developer-Guide#running-tests) and make sure that you got a generated .json file that matches the test name in the bin folder under *SessionRecords folder
2. Copy SessionRecords folder inside the test project and add all *.json files in Visual Studio setting "Copy to Output Directory" property to "Copy if newer"
3. To assure that the records work fine, delete the connection string (default mode is Playback mode) OR change HttpRecorderMode within the connection string to "Playback"

Expand Down
3 changes: 3 additions & 0 deletions documentation/azure-powershell-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Below is a table of modules containing ARM cmdlets found in the [`AzureRM`](http
| ------------------------------------- | --------------------------------------- | ----------------------- |
| Analysis Services | `AzureRM.AnalysisServices` | [![Analysis Services](https://img.shields.io/powershellgallery/v/AzureRM.AnalysisServices.svg?style=flat-square&label=AzureRM.AnalysisServices)](https://www.powershellgallery.com/packages/AzureRM.AnalysisServices/) |
| API Management | `AzureRM.ApiManagement` | [![API Management](https://img.shields.io/powershellgallery/v/AzureRM.ApiManagement.svg?style=flat-square&label=AzureRM.ApiManagement)](https://www.powershellgallery.com/packages/AzureRM.ApiManagement/) |
| Application Insights | `AzureRM.ApplicationInsights` | [![Application Insights](https://img.shields.io/powershellgallery/v/AzureRM.ApplicationInsights.svg?style=flat-square&label=AzureRM.ApplicationInsights)](https://www.powershellgallery.com/packages/AzureRM.ApplicationInsights/) |
| Automation | `AzureRM.Automation` | [![Automation](https://img.shields.io/powershellgallery/v/AzureRM.Automation.svg?style=flat-square&label=AzureRM.Automation)](https://www.powershellgallery.com/packages/AzureRM.Automation/) |
| Backup | `AzureRM.Backup` | [![Backup](https://img.shields.io/powershellgallery/v/AzureRM.Backup.svg?style=flat-square&label=AzureRM.Backup)](https://www.powershellgallery.com/packages/AzureRM.Backup/)
| Batch | `AzureRM.Batch` | [![Batch](https://img.shields.io/powershellgallery/v/AzureRM.Batch.svg?style=flat-square&label=AzureRM.Batch)](https://www.powershellgallery.com/packages/AzureRM.Batch/) |
Expand All @@ -31,6 +32,7 @@ Below is a table of modules containing ARM cmdlets found in the [`AzureRM`](http
| Data Factory V2 | `AzureRM.DataFactoryV2` | [![Data Factory V2](https://img.shields.io/powershellgallery/v/AzureRM.DataFactoryV2.svg?style=flat-square&label=AzureRM.DataFactoryV2)](https://www.powershellgallery.com/packages/AzureRM.DataFactoryV2/) |
| Data Lake Analytics | `AzureRM.DataLakeAnalytics` | [![Data Lake Analytics](https://img.shields.io/powershellgallery/v/AzureRM.DataLakeAnalytics.svg?style=flat-square&label=AzureRM.DataLakeAnalytics)](https://www.powershellgallery.com/packages/AzureRM.DataLakeAnalytics/) |
| Data Lake Store | `AzureRM.DataLakeStore` | [![Data Lake Store](https://img.shields.io/powershellgallery/v/AzureRM.DataLakeStore.svg?style=flat-square&label=AzureRM.DataLakeStore)](https://www.powershellgallery.com/packages/AzureRM.DataLakeStore/) |
| Data Migration | `AzureRM.DataMigration` | [![Data Migration](https://img.shields.io/powershellgallery/v/AzureRM.DataMigration.svg?style=flat-square&label=AzureRM.DataMigration)](https://www.powershellgallery.com/packages/AzureRM.DataMigration/) |
| DevTest Labs | `AzureRM.DevTestLabs` | [![DevTest Labs](https://img.shields.io/powershellgallery/v/AzureRM.DevTestLabs.svg?style=flat-square&label=AzureRM.DevTestLabs)](https://www.powershellgallery.com/packages/AzureRM.DevTestLabs/) |
| DNS | `AzureRM.Dns` | [![DNS](https://img.shields.io/powershellgallery/v/AzureRM.Dns.svg?style=flat-square&label=AzureRM.Dns)](https://www.powershellgallery.com/packages/AzureRM.Dns/) |
| Event Grid | `AzureRM.EventGrid` | [![Event Grid](https://img.shields.io/powershellgallery/v/AzureRM.EventGrid.svg?style=flat-square&label=AzureRM.EventGrid)](https://www.powershellgallery.com/packages/AzureRM.EventGrid/) |
Expand All @@ -54,6 +56,7 @@ Below is a table of modules containing ARM cmdlets found in the [`AzureRM`](http
| Recovery Services - Site Recovery | `AzureRM.RecoveryServices.SiteRecovery` | [![Recovery Services - Site Recovery](https://img.shields.io/powershellgallery/v/AzureRM.RecoveryServices.SiteRecovery.svg?style=flat-square&label=AzureRM.RecoveryServices.SiteRecovery)](https://www.powershellgallery.com/packages/AzureRM.RecoveryServices.SiteRecovery/) |
| Redis Cache | `AzureRM.RedisCache` | [![Redis Cache](https://img.shields.io/powershellgallery/v/AzureRM.RedisCache.svg?style=flat-square&label=AzureRM.RedisCache)](https://www.powershellgallery.com/packages/AzureRM.RedisCache/) |
| Relay | `AzureRM.Relay` | [![Relay](https://img.shields.io/powershellgallery/v/AzureRM.Relay.svg?style=flat-square&label=AzureRM.Relay)](https://www.powershellgallery.com/packages/AzureRM.Relay/) |
| Reservations | `AzureRM.Reservations` | [![Reservations](https://img.shields.io/powershellgallery/v/AzureRM.Reservations.svg?style=flat-square&label=AzureRM.Reservations)](https://www.powershellgallery.com/packages/AzureRM.Reservations/) |
| Resources | `AzureRM.Resources` | [![Resources](https://img.shields.io/powershellgallery/v/AzureRM.Resources.svg?style=flat-square&label=AzureRM.Resources)](https://www.powershellgallery.com/packages/AzureRM.Resources/) |
| Scheduler | `AzureRM.Scheduler` | [![Scheduler](https://img.shields.io/powershellgallery/v/AzureRM.Scheduler.svg?style=flat-square&label=AzureRM.Scheduler)](https://www.powershellgallery.com/packages/AzureRM.Scheduler/) |
| Server Management | `AzureRM.ServerManagement` | [![Server Management](https://img.shields.io/powershellgallery/v/AzureRM.ServerManagement.svg?style=flat-square&label=AzureRM.ServerManagement)](https://www.powershellgallery.com/packages/AzureRM.ServerManagement/) |
Expand Down
16 changes: 9 additions & 7 deletions documentation/breaking-changes/breaking-changes-tool-help.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,26 @@ Below are descriptions and remediations for each of the errors that can be seen
| 3040 | [Changed Generic Type Argument](#3040---changed-generic-type-argument) |
| 3050 | [Different Generic Type Argument Size](#3050---different-generic-type-argument-size) |

## 1000 - Removed Cmdlet
## 1000 - Removed or Renamed Cmdlet

### Description

_The cmdlet '`<cmdlet>`' has been removed and no alias was found for the original cmdlet name._

When a user can no longer use a cmdlet that was previously available in a module, that is a breaking change. This can occur when the cmdlet is deleted, or the name of the cmdlet was changed with no alias to the original cmdlet name.
When a user can no longer use a cmdlet that was previously available in a module, that is a breaking change. This can occur when the cmdlet is deleted, or when the name of the cmdlet was changed with no alias to the original cmdlet name.

### Remediation

_Add the cmdlet '`<cmdlet>`' back to the module, or add an alias to the original cmdlet name._

To add an alias to the original cmdlet name, use the `Alias` attribute for the cmdlet.

If you need to, you can add multiple aliases for cmdlets that need to be renamed twice.

```cs
[Alias("Login-AzureRmAccount")]
[Cmdlet(VerbsCommon.Add, "AzureRmAccount")]
public class AddAzureRmAccount : Cmdlet
[Cmdlet(VerbsCommunications.Connect, "AzureRmAccount")]
[Alias("Login-AzureRmAccount", "Login-AzAccount", "Add-AzureRmAccount")]
public class ConnectAzureRmAccount : Cmdlet
{
protected override void BeginProcessing()
{
Expand Down Expand Up @@ -383,8 +385,8 @@ _Add the parameter '`<parameter>`' back to the cmdlet '`<cmdlet>`', or add an al
To add an alias to the original parameter name, use the `Alias` attribute for the parameter.

```cs
[Cmdlet(VerbsCommon.Add, "AzureRmAccount")]
public class AddAzureRmAccount : Cmdlet
[Cmdlet(VerbsCommunications.Connect, "AzureRmAccount")]
public class ConnectAzureRmAccount : Cmdlet
{
[Alias("Domain")]
[Parameter(ParameterSetName = "...", Mandatory = false)
Expand Down
4 changes: 2 additions & 2 deletions setup/azurecmd.wxs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">

<?define productName="Microsoft Azure PowerShell - December 2017" ?>
<?define productName="Microsoft Azure PowerShell - January 2018" ?>
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>

<?define version="5.1.1" ?>
<?define version="5.2.0" ?>

<Product Id="*"
Name="$(var.productName)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public static class AccountType
public const string Certificate = "Certificate",
User = "User",
ServicePrincipal = "ServicePrincipal",
AccessToken = "AccessToken";
AccessToken = "AccessToken",
ManagedService = "ManagedService";
}

/// <summary>
Expand Down Expand Up @@ -117,7 +118,12 @@ public static class Property
/// <summary>
/// Thumbprint for associated certificate
/// </summary>
CertificateThumbprint = "CertificateThumbprint";
CertificateThumbprint = "CertificateThumbprint",

/// <summary>
/// Login Uri for Managed Service Login
/// </summary>
MSILoginUri = "MSILoginUri";


}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
// ----------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Common.Authentication.Abstractions
public class ClientFactorySettings : IExtensibleSettings
{
/// <summary>
/// The user agents in the cusrrent client factory
/// The user agents in the current client factory
/// </summary>
public IEnumerable<UserAgentSettings> UserAgents { get; }

Expand Down
Loading