Skip to content

HPF PR: dev <- Azure:dev #495

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
merged 88 commits into from
Mar 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
dcf396a
Adding support for following cmdlets
RamjotSingh Jan 19, 2016
da84e89
1) Resolving CR comments
RamjotSingh Jan 19, 2016
2cc13cf
Fixing CSROJ
RamjotSingh Jan 19, 2016
5807631
taking hydra spec namespace change for SiteRecovery Vault management …
sriramvu Jan 20, 2016
16505e5
updated Vault related artifacts with Recovery Services (RS) rather th…
sriramvu Jan 20, 2016
24827f7
RefreshServer
sriramvu Jan 20, 2016
86bfcd4
Merge pull request #1 from AsrOneSdk/namespaceChangeForSRVaultManagement
avneeshraiusit Jan 20, 2016
b9b7609
Merge pull request #2 from AsrOneSdk/refreshServer
avneeshraiusit Jan 20, 2016
382d7df
Taking CR comments and changing cmdlet names for mapping (storage cla…
RamjotSingh Jan 20, 2016
d9b86fc
Shifting to central exception handling for SiteRecovery cmdlets
RamjotSingh Jan 20, 2016
aafc37a
Merge branch 'dev151125' of https://github.com/AsrOneSdk/azure-powers…
RamjotSingh Jan 20, 2016
f0d83f4
Merging changes.
RamjotSingh Jan 20, 2016
5d4866f
Taking CR comments.
RamjotSingh Jan 21, 2016
0b17685
Sets SiteRecovery and RecoveryServices Vault context without importin…
sriramvu Jan 21, 2016
018fc3b
Adding Server based filtering to Get Storage classification
RamjotSingh Jan 21, 2016
485b28e
Removing Fabric friendly name property from storage classification.
RamjotSingh Jan 21, 2016
3d7ba2e
Taking CR comments.
RamjotSingh Jan 21, 2016
7d161c2
Merge branch 'dev151125' of https://github.com/AsrOneSdk/azure-powers…
sriramvu Jan 21, 2016
9f27fce
Merge pull request #3 from AsrOneSdk/SetRSVaultSettings
avneeshraiusit Jan 21, 2016
4fa9568
RP support
avneeshraiusit Jan 22, 2016
9a18e12
resolving merge conflicts
avneeshraiusit Jan 22, 2016
5197bc2
Added encryption support
vijaynar Jan 22, 2016
6247fdf
Vault settings file to have ASRVaultCreds as our DRA registration exp…
sriramvu Jan 25, 2016
1c94d69
Indentation support in generated RP file
avneeshraiusit Jan 28, 2016
5027073
Adding polymorphic deserialization support for Recovery Plan
avneeshraiusit Jan 29, 2016
11a3a2e
minor improvizations
avneeshraiusit Feb 2, 2016
1b22d08
Protection Container perf fix:
vijaynar Feb 3, 2016
85ba12e
Taking Feedbacks
avneeshraiusit Feb 3, 2016
d12218e
Perf fix for Enumerate VM and ProtectionEntity:
vijaynar Feb 3, 2016
3f62943
Changing common function for fetching VM & protectedEntity as generic.
vijaynar Feb 5, 2016
bbb7356
Adding RP Tests
avneeshraiusit Feb 5, 2016
9314b74
1) Changes corresponding to VmId field in RP
avneeshraiusit Feb 9, 2016
bd405a7
Creation of RP supported with RP file
avneeshraiusit Feb 16, 2016
6dbea73
1) Fix for bug 6635655 2) Purge Protection support
avneeshraiusit Feb 22, 2016
ffb6416
Fixing issues with Storage classification cmdlets.
RamjotSingh Mar 4, 2016
d6f5dc4
FW: [Pre-Build] Renaming cmdlets, removing one, and splitting one int…
gucalder Mar 14, 2016
6e9698f
[LogProfiles] Introducing log profiles to powershell
vcanaa Mar 14, 2016
a9c69cd
Fixing pipelining issues
avneeshraiusit Mar 16, 2016
7ecc817
FW: Update the reference to the Insights SDK
gucalder Mar 16, 2016
ef6ba50
[Insights][Shoebox] Add retention commands
vcanaa Mar 17, 2016
c029a9f
FW: Fixing the Add-AzureRmWebtestAlertRule Cmdlet
gucalder Mar 17, 2016
c69ded8
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Mar 17, 2016
6640b07
FW: Update help file
gucalder Mar 18, 2016
555ae64
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Mar 18, 2016
ae73e19
FW: Fixing incorrect reference to the Insights SDK
gucalder Mar 18, 2016
a5fb2d7
Merge branch 'dev' into retention
vcanaa Mar 18, 2016
999bc61
FW: Updating reference to the Insights SDK in RedisCache for the buil…
gucalder Mar 18, 2016
daa0689
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Mar 18, 2016
579f1a4
[Insights] Remove empty logs and metrics from output
vcanaa Mar 18, 2016
06aa81f
updated tests, session records, help, hydra version
sriramvu Mar 19, 2016
1f54e48
Merge remote-tracking branch 'upstream/dev' into dev151125-release-2
sriramvu Mar 19, 2016
f5bb824
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Mar 21, 2016
2909f35
Adding Azure PowerShell for Microsoft.Cdn
Mar 21, 2016
639502b
Bringing back Compute tests for custom packages.
Mar 21, 2016
cbeb2ba
FW: Fix Sql scenario test that called Get-Metrics, which is now calle…
gucalder Mar 21, 2016
76a1628
Installed released / public NuGets
sriramvu Mar 21, 2016
ea02f47
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Mar 21, 2016
256aef1
Fix CDN PowerShell Test issues
Mar 21, 2016
c3e1816
updated the recorded json with latest test recorder version
sriramvu Mar 21, 2016
7de5e4c
[Insights] CR fixes for logprofiles
vcanaa Mar 22, 2016
fa531e8
Adding CDN powershell to AzureRM.psd1
Mar 22, 2016
270574e
Azure CDN PowerShell fix indentation
Mar 22, 2016
2e77b3f
Added setup script
Mar 22, 2016
15a62f0
Add updated wxi file for Azure CDN Powershell
Mar 22, 2016
9989647
Reverting PIR.psd1 and AzurePreview.psd1 module changes
Mar 22, 2016
ae7cb17
fixing matcher for x-ms-version issue
markcowl Mar 22, 2016
4090abf
Merge pull request #7 from markcowl/fixrsmocks2
sriramvu Mar 22, 2016
c408acd
bumped up SiteRecovery and RecoveryServices module versions
sriramvu Mar 22, 2016
714adf0
Merge branch 'dev' of https://github.com/AuxMon/azure-powershell into…
gucalder Mar 22, 2016
c23868d
Revert "bumped up SiteRecovery and RecoveryServices module versions"
sriramvu Mar 22, 2016
af784d5
taken PR Comments
sriramvu Mar 22, 2016
a37c220
FW: Completing the help file (missing the help for LogProfile CmdLets)
gucalder Mar 22, 2016
0917171
Rename AzueRmCdn.psd1 to AzureRm.Cdn.psd1
Mar 22, 2016
f4b7685
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Mar 22, 2016
153f602
Merge branch 'dev' of https://github.com/AuxMon/azure-powershell into…
gucalder Mar 22, 2016
bc24fed
Fixed publish job
Mar 22, 2016
3d8bb1a
Changing Azure module publishing sequence.
Mar 23, 2016
71cfa79
Add Graph Audience to environment cmdlets
markcowl Mar 23, 2016
94a781b
Updating the Service Bus nuget package reference form version 0.17.0-…
Mar 23, 2016
f81965f
Merge pull request #1976 from AsrOneSdk/dev151125-release-2
Mar 23, 2016
2b06ae7
Fixed PID issue
Mar 23, 2016
2981a22
Merge pull request #1984 from hovsepm/ModuleFix
Mar 23, 2016
82316e3
Merge branch 'dev' of github.com:Azure/azure-powershell into dev
Mar 23, 2016
ce11806
Merge pull request #1972 from kuangweizhang/dev
Mar 23, 2016
0215001
Merge pull request #1973 from hovsepm/dev
Mar 23, 2016
19817cc
Merge pull request #1969 from AuxMon/dev
Mar 23, 2016
ff34197
Merge pull request #1985 from dsouzaarun/dev
markcowl Mar 23, 2016
954ec40
Merge pull request #1990 from markcowl/addgraph
Mar 23, 2016
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions AzurePowershell.Test.targets
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
<XUnitTests Include=".\src\ResourceManager\Profile\Commands.Profile.Test\bin\Debug\Microsoft.Azure.Commands.Profile.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\NotificationHubs\Commands.NotificationHubs.Test\bin\Debug\Microsoft.Azure.Commands.NotificationHubs.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Cdn\Commands.Cdn.Test\bin\Debug\Microsoft.Azure.Commands.Cdn.Test.ScenarioTests.dll"/>
<XUnitTests Include=".\src\Common\Commands.Common.Authentication.Test\bin\Debug\Microsoft.Azure.Commands.Common.Authentication.Test.dll"/>
<XUnitTests Include="@(AsmXUnitTests)"/>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<Scope Condition=" $(Scope) == '' " >all</Scope>
</PropertyGroup>
<ItemGroup>
<CmdletSolutionsToBuild Include=".\src\ResourceManager\**\*.sln;.\src\ServiceManagement\ServiceManagement.sln;.\src\Storage\Storage.sln"
<CmdletSolutionsToBuild Include=".\src\Storage\Storage.sln;.\src\ResourceManager\**\*.sln;.\src\ServiceManagement\ServiceManagement.sln"
Exclude=".\src\ResourceManager\Intune\*.sln"
Condition=" '$(Scope)' == 'all' "/>
<CmdletSolutionsToBuild Include=".\src\ResourceManager\$(Scope)\*.sln"
Expand Down
98 changes: 98 additions & 0 deletions setup/azurecmdfiles.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,74 @@
<File Id="fil9D065E8E5B3E5AF98B57D1F44F6C8698" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Batch\System.Spatial.dll" />
</Component>
</Directory>
<Directory Id="dir75F2C4F350248207C418DE5A1C651FB6" Name="AzureRM.Cdn">
<Component Id="cmpD18084727DDF26BDFCE36BE4EF3E3FBC" Guid="*">
<File Id="fil94E16717A827E81C325C0FF864D01FFC" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\AzureRm.Cdn.psd1" />
</Component>
<Component Id="cmp87DFE6BA28632B552074C8A05968ED49" Guid="*">
<File Id="filB29D13A0412832DF84301430FAF5C2EB" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\AzureRM.Tags.psd1" />
</Component>
<Component Id="cmpFCC54BA077C7C12B0A49F42DD3039435" Guid="*">
<File Id="filD253995C681D155F4A3BAED9AC075F4D" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Hyak.Common.dll" />
</Component>
<Component Id="cmp984FE30B4A873A5B1BC8F7E85B1CEF85" Guid="*">
<File Id="fil43DC81F2DC5C7E63E90FE796C701DAB0" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.ApplicationInsights.dll" />
</Component>
<Component Id="cmp2F3E4B9B10BAC8DA1FA711C6B756E1D1" Guid="*">
<File Id="fil5C7E4A0AAABAF43D3EE40210E8293406" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.Commands.Cdn.dll" />
</Component>
<Component Id="cmpCCEFEAF7E9F568DCE42A92D1F88073E9" Guid="*">
<File Id="filD972105870B71EAB5F20C02E177C482C" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.Commands.Cdn.dll-help.xml" />
</Component>
<Component Id="cmp8117892AB4985527257E1CB4EF41A743" Guid="*">
<File Id="fil65188B813C8456002AAE81CF06487BD6" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.Commands.Common.Authentication.dll" />
</Component>
<Component Id="cmpDD697CE5686294AEE2F1E584E100CE73" Guid="*">
<File Id="filFF3B5EA80A1511BA9FCF607CBFA314B7" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.Commands.ResourceManager.Common.dll" />
</Component>
<Component Id="cmp252272B69613A5F710C5E88958DA919A" Guid="*">
<File Id="filD6400F20F16F20CFF35E05C225E43B61" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.Commands.Tags.dll" />
</Component>
<Component Id="cmpEBD89E99E08A04D8E09A56DF02850E93" Guid="*">
<File Id="fil98A4BBFAA273464F2C94EED00F90F842" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.Commands.Tags.dll-help.xml" />
</Component>
<Component Id="cmp4ACEED299D2E78B0966C9D9AF5B11294" Guid="*">
<File Id="fil00F84FDAB6C3D2898D8DE7428F096738" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.Commands.Tags.format.ps1xml" />
</Component>
<Component Id="cmpA5CE394C9942D9D4ADAEACFF06789D1B" Guid="*">
<File Id="fil1F02F9993EC0DC7476460E83C43D1448" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.Common.dll" />
</Component>
<Component Id="cmp19A96D3D033345B43FC2C44361B32868" Guid="*">
<File Id="filD1C51868057B7D6AC2300D31E46AC6A4" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.Common.NetFramework.dll" />
</Component>
<Component Id="cmp4AACC4C33AF20DAFD9C6699AD976D228" Guid="*">
<File Id="fil61662A39754213EE6B9B4B653463030E" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.Management.Cdn.dll" />
</Component>
<Component Id="cmp3F28B47ADA76A3639E59F48BDB522E0A" Guid="*">
<File Id="filA49870A1F211F82C2DAD4F990CDA7E0D" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Azure.ResourceManager.dll" />
</Component>
<Component Id="cmpA172AC1ECDF20C8AFF036626150559A5" Guid="*">
<File Id="fil15DBB5066432463739208A1084EFC2DC" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.IdentityModel.Clients.ActiveDirectory.dll" />
</Component>
<Component Id="cmp0A8178CC44A697B0FB171FC30E93287A" Guid="*">
<File Id="fil7E71D1F5F558C4087AFFD6C29F684C02" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll" />
</Component>
<Component Id="cmpE1FF60A60B506C43C8B03708882127E7" Guid="*">
<File Id="fil890F77F04ED6F08F4974514B44DA38F5" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Rest.ClientRuntime.Azure.dll" />
</Component>
<Component Id="cmpD61BF241990D4031E507A459B75EB137" Guid="*">
<File Id="filA72498FA5FD757838A3759A3596D3633" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Rest.ClientRuntime.dll" />
</Component>
<Component Id="cmp6519C0CCA1A55C0C4F71A2D84CB100DA" Guid="*">
<File Id="fil725DEB7F20EE5A560D523EFEA33B7040" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.Threading.Tasks.dll" />
</Component>
<Component Id="cmp86B6BE57BD32B926D472B8064DAE1EB5" Guid="*">
<File Id="filA5509DD259F05D0D90BE76841A29F479" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Microsoft.WindowsAzure.Commands.Common.dll" />
</Component>
<Component Id="cmpBFE50702869E7E4BC74489AACC090CC8" Guid="*">
<File Id="filE46225E75692ACB5643F609EC0A0CA27" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\Newtonsoft.Json.dll" />
</Component>
</Directory>
<Directory Id="dir470D08462380F56397F9D0288EEA2E52" Name="AzureRM.Compute">
<Component Id="cmpD2516E302D41812368A84BD6010FB066" Guid="*">
<File Id="filEBA6A8A31DD00604D785E38F8379CCC0" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Compute\AutoMapper.dll" />
Expand Down Expand Up @@ -3029,6 +3097,9 @@
<Component Id="cmpF7ADD37722F45985B5323202F35958F2" Guid="*">
<File Id="fil0FA91D9C31AF07DCD03BFB842FE2B77E" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll" />
</Component>
<Component Id="cmp9D64A1111722F25BC100121E73BE039E" Guid="*">
<File Id="filD9BAD7BE2D8E9E1E7DDA9BAED346E4B7" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.xml" />
</Component>
<Component Id="cmpE52498FB0431A601DD9FDE6F082DF1D4" Guid="*">
<File Id="fil1C2DE4A7227BA117EC30E177CDE33EBA" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.Preview.dll" />
</Component>
Expand Down Expand Up @@ -3092,6 +3163,9 @@
<Component Id="cmp7F9F978DBE7D6715FA75FFB3BE40806E" Guid="*">
<File Id="filD8D9BC2D74630E2A6A9438D81BEBFE40" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\Compute\Newtonsoft.Json.dll" />
</Component>
<Component Id="cmp4AA539549D58FD2D5DD3C404556F3DBB" Guid="*">
<File Id="fil4D8DA0FB6E8B4E47BD5A37E758BFC156" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\Compute\PIR.psd1" />
</Component>
<Component Id="cmp348131C92750A7166DCA75757E409378" Guid="*">
<File Id="fil4C89A8A3AA200315DD08D7FD6DA12286" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\Compute\ServiceManagementStartup.ps1" />
</Component>
Expand Down Expand Up @@ -5011,6 +5085,28 @@
<ComponentRef Id="cmp8E6B2CBC9EF2E6C9012C5090F2932C68" />
<ComponentRef Id="cmp30F0EC1B207C0F4C59F81099974C18E3" />
<ComponentRef Id="cmp22BC5873E0018F5801CD486C6CBCE0C5" />
<ComponentRef Id="cmpD18084727DDF26BDFCE36BE4EF3E3FBC" />
<ComponentRef Id="cmp87DFE6BA28632B552074C8A05968ED49" />
<ComponentRef Id="cmpFCC54BA077C7C12B0A49F42DD3039435" />
<ComponentRef Id="cmp984FE30B4A873A5B1BC8F7E85B1CEF85" />
<ComponentRef Id="cmp2F3E4B9B10BAC8DA1FA711C6B756E1D1" />
<ComponentRef Id="cmpCCEFEAF7E9F568DCE42A92D1F88073E9" />
<ComponentRef Id="cmp8117892AB4985527257E1CB4EF41A743" />
<ComponentRef Id="cmpDD697CE5686294AEE2F1E584E100CE73" />
<ComponentRef Id="cmp252272B69613A5F710C5E88958DA919A" />
<ComponentRef Id="cmpEBD89E99E08A04D8E09A56DF02850E93" />
<ComponentRef Id="cmp4ACEED299D2E78B0966C9D9AF5B11294" />
<ComponentRef Id="cmpA5CE394C9942D9D4ADAEACFF06789D1B" />
<ComponentRef Id="cmp19A96D3D033345B43FC2C44361B32868" />
<ComponentRef Id="cmp4AACC4C33AF20DAFD9C6699AD976D228" />
<ComponentRef Id="cmp3F28B47ADA76A3639E59F48BDB522E0A" />
<ComponentRef Id="cmpA172AC1ECDF20C8AFF036626150559A5" />
<ComponentRef Id="cmp0A8178CC44A697B0FB171FC30E93287A" />
<ComponentRef Id="cmpE1FF60A60B506C43C8B03708882127E7" />
<ComponentRef Id="cmpD61BF241990D4031E507A459B75EB137" />
<ComponentRef Id="cmp6519C0CCA1A55C0C4F71A2D84CB100DA" />
<ComponentRef Id="cmp86B6BE57BD32B926D472B8064DAE1EB5" />
<ComponentRef Id="cmpBFE50702869E7E4BC74489AACC090CC8" />
<ComponentRef Id="cmpD2516E302D41812368A84BD6010FB066" />
<ComponentRef Id="cmpD288F9671FEAE346EF3A1FAF2D98C7EC" />
<ComponentRef Id="cmp594709EB2E69BD7173BC8833BE2061B4" />
Expand Down Expand Up @@ -5836,6 +5932,7 @@
<ComponentRef Id="cmp70D1D6B3A151E5DA4EBA09BA3F9FAD5F" />
<ComponentRef Id="cmpAC5C284B13829839B2AD819221131DB0" />
<ComponentRef Id="cmpF7ADD37722F45985B5323202F35958F2" />
<ComponentRef Id="cmp9D64A1111722F25BC100121E73BE039E" />
<ComponentRef Id="cmpE52498FB0431A601DD9FDE6F082DF1D4" />
<ComponentRef Id="cmpFD1814D8F2D73854649A52268A2C2A83" />
<ComponentRef Id="cmp9DF26170AD3B0860AAFF291D39DD9FC5" />
Expand All @@ -5857,6 +5954,7 @@
<ComponentRef Id="cmpBFA5705441B7DF4264EFE1632A830DF1" />
<ComponentRef Id="cmpA7662EDC9DDCCFD0290DDB9350660A6B" />
<ComponentRef Id="cmp7F9F978DBE7D6715FA75FFB3BE40806E" />
<ComponentRef Id="cmp4AA539549D58FD2D5DD3C404556F3DBB" />
<ComponentRef Id="cmp348131C92750A7166DCA75757E409378" />
<ComponentRef Id="cmp289352966E5E4647DF24D7FFCEA4200F" />
<ComponentRef Id="cmpA497DCDAF4262858EF7BF8F3E4A03F30" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,21 @@
<Compile Include="Models\MemoryDataStore.cs" />
<Compile Include="Models\XmlProfileSerializer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Utilities\DictionaryExtensions.cs" />
<Compile Include="Utilities\FileUtilities.cs" />
<Compile Include="Utilities\JsonUtilities.cs" />
<Compile Include="Utilities\XmlUtilities.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\Resources.resx" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,24 @@ private AdalConfiguration GetAdalConfiguration(AzureEnvironment environment, str
{
throw new ArgumentNullException("environment");
}

var adEndpoint = environment.Endpoints[AzureEnvironment.Endpoint.ActiveDirectory];
if (string.IsNullOrWhiteSpace(adEndpoint))
{
throw new ArgumentOutOfRangeException("environment", string.Format("No Active Directory endpoint specified for environment '{0}'", environment.Name));
}

var audience = environment.Endpoints[resourceId];
if (string.IsNullOrWhiteSpace(audience))
{
string message = Resources.InvalidManagementTokenAudience;
if (resourceId == AzureEnvironment.Endpoint.GraphEndpointResourceId)
{
message = Resources.InvalidGraphTokenAudience;
}

throw new ArgumentOutOfRangeException("environment", string.Format(message, environment.Name));
}

return new AdalConfiguration
{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,10 @@
<data name="UnsupportedCredentialType" xml:space="preserve">
<value>Certificate authentication is not supported for account type {0}.</value>
</data>
<data name="InvalidGraphTokenAudience" xml:space="preserve">
<value>No value was specified for the token audience for the graph endpoint in environment '{0}'. Please use Set-AzureRmEnvironment -Name {0} -GraphAudience token-audience-value</value>
</data>
<data name="InvalidManagementTokenAudience" xml:space="preserve">
<value>No value was specified for the token audience for the management endpoint in environment '{0}'. Please use Set-AzureRmEnvironment -Name {0} -ActiveDirectoryServiceEndpointResourceId token-audience-value</value>
</data>
</root>
1 change: 1 addition & 0 deletions src/Common/Commands.Common/Commands.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="StringExtensions.cs" />
<Compile Include="AzureDataCmdlet.cs" />
<Compile Include="AzurePSCmdlet.cs" />
<Compile Include="AzurePSDataCollectionProfile.cs" />
Expand Down
Loading