Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.26k stars 3.86k forks source link

CosmosDB Azure tables account is in preview mode when created from PS script #7849

Closed Pynop closed 5 years ago

Pynop commented 6 years ago

Description

When I create a CosmosDB account of type Table manually (using Azure Portal) I get a fully operable account. But when I do the same with a PS cmdlet I get an account in preview mode. That is identified by a corresponding message section in Azure Portal when I observe the resources created with PS. Here's a link to MS docs, pay attention to the feedback section in the bottom of the page. https://docs.microsoft.com/en-us/azure/cosmos-db/scripts/create-table-database-account-powershell?toc=%2fpowershell%2fmodule%2ftoc.json It's not only me who observed the issue. But the solution (use cloud shell instead) didn't work in my case - the account created using the cloud shell at Azure Portal is also in a preview mode. I also ran the cmdlet with -Debug option and "capabilities" array in the response from Azure is empty though in my understanding it should contain "EnableTable".

Script/Steps for Reproduction

$consistencyPolicy = @{"defaultConsistencyLevel"="BoundedStaleness";
                       "maxIntervalInSeconds"="86400"; 
                       "maxStalenessPrefix"="1000000"};
$Capability= "EnableTable”;
$capabilities= @(@{"name"=$Capability});
$DBProperties = @{"databaseAccountOfferType"="Standard";
                            "consistencyPolicy"=$consistencyPolicy;
                            "capabilities"=$capabilities};
$tags = @{"defaultExperience" = "Table"};
New-AzureRmResource -ResourceType "Microsoft.DocumentDb/databaseAccounts" -ApiVersion "2015-04-08" -ResourceGroupName $resGroup -Location $location -ResourceName $accountName -PropertyObject $DBProperties -Force -Debug -Tag $tags

Module Version

> Get-Module -ListAvailable

    Каталог: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    Name                                ExportedCommands                                                                                                                                                                                       
---------- -------    ----                                ----------------                                                                                                                                                                                       
Script     5.3.0      Azure                               {Get-AzureAutomationCertificate, Get-AzureAutomationConnection, New-AzureAutomationConnection, Remove-AzureAutomationConnection...}                                                                    
Script     5.1.2      Azure                               {Get-AzureAutomationCertificate, Get-AzureAutomationConnection, New-AzureAutomationConnection, Remove-AzureAutomationConnection...}                                                                    
Script     0.5.4      Azure.AnalysisServices              {Add-AzureAnalysisServicesAccount, Restart-AzureAnalysisServicesInstance, Export-AzureAnalysisServicesInstanceLog, Sync-AzureAnalysisServicesInstance}                                                 
Script     4.6.1      Azure.Storage                       {Get-AzureStorageTable, New-AzureStorageTableSASToken, New-AzureStorageTableStoredAccessPolicy, New-AzureStorageTable...}                                                                              
Script     1.0.0.5    AzureIoT                            {Connect-AzureIoTHub, Get-IoTCloudClient, Get-IoTDeviceClient, Get-IotDeviceKey...}                                                                                                                    
Script     6.12.0     AzureRM                                                                                                                                                                                                                                    
Script     0.6.14     AzureRM.AnalysisServices            {Resume-AzureRmAnalysisServicesServer, Suspend-AzureRmAnalysisServicesServer, Get-AzureRmAnalysisServicesServer, Remove-AzureRmAnalysisServicesServer...}                                              
Script     6.1.5      AzureRM.ApiManagement               {Add-AzureRmApiManagementRegion, Get-AzureRmApiManagementSsoToken, New-AzureRmApiManagementHostnameConfiguration, New-AzureRmApiManagementCustomHostnameConfiguration...}                              
Script     0.1.8      AzureRM.ApplicationInsights         {Get-AzureRmApplicationInsights, New-AzureRmApplicationInsights, Remove-AzureRmApplicationInsights, Set-AzureRmApplicationInsightsPricingPlan...}                                                      
Script     5.1.2      AzureRM.Automation                  {Get-AzureRMAutomationHybridWorkerGroup, Get-AzureRmAutomationJobOutputRecord, Import-AzureRmAutomationDscNodeConfiguration, Export-AzureRmAutomationDscConfiguration...}                              
Script     4.0.11     AzureRM.Backup                      {Backup-AzureRmBackupItem, Enable-AzureRmBackupContainerReregistration, Get-AzureRmBackupContainer, Register-AzureRmBackupContainer...}                                                                
Script     4.1.5      AzureRM.Batch                       {Remove-AzureRmBatchAccount, Get-AzureRmBatchAccount, Get-AzureRmBatchAccountKeys, New-AzureRmBatchAccount...}                                                                                         
Script     0.14.6     AzureRM.Billing                     {Get-AzureRmBillingInvoice, Get-AzureRmBillingPeriod, Get-AzureRmEnrollmentAccount}                                                                                                                    
Script     5.0.6      AzureRM.Cdn                         {Get-AzureRmCdnProfile, Get-AzureRmCdnProfileSsoUrl, New-AzureRmCdnProfile, Remove-AzureRmCdnProfile...}                                                                                               
Script     0.9.12     AzureRM.CognitiveServices           {Get-AzureRmCognitiveServicesAccount, Get-AzureRmCognitiveServicesAccountKey, Get-AzureRmCognitiveServicesAccountSkus, Get-AzureRmCognitiveServicesAccountType...}                                     
Script     5.8.0      AzureRM.Compute                     {Remove-AzureRmAvailabilitySet, Get-AzureRmAvailabilitySet, New-AzureRmAvailabilitySet, Update-AzureRmAvailabilitySet...}                                                                              
Script     0.3.7      AzureRM.Consumption                 {Get-AzureRmConsumptionBudget, Get-AzureRmConsumptionMarketplace, Get-AzureRmConsumptionPriceSheet, Get-AzureRmConsumptionReservationDetail...}                                                        
Script     0.2.10     AzureRM.ContainerInstance           {New-AzureRmContainerGroup, Get-AzureRmContainerGroup, Remove-AzureRmContainerGroup, Get-AzureRmContainerInstanceLog}                                                                                  
Script     1.0.10     AzureRM.ContainerRegistry           {New-AzureRmContainerRegistry, Get-AzureRmContainerRegistry, Update-AzureRmContainerRegistry, Remove-AzureRmContainerRegistry...}                                                                      
Script     5.0.3      AzureRM.DataFactories               {Remove-AzureRmDataFactory, Get-AzureRmDataFactoryRun, Get-AzureRmDataFactorySlice, Save-AzureRmDataFactoryLog...}                                                                                     
Script     0.5.11     AzureRM.DataFactoryV2               {Set-AzureRmDataFactoryV2, Update-AzureRmDataFactoryV2, Get-AzureRmDataFactoryV2, Remove-AzureRmDataFactoryV2...}                                                                                      
Script     5.1.4      AzureRM.DataLakeAnalytics           {Get-AzureRmDataLakeAnalyticsDataSource, New-AzureRmDataLakeAnalyticsCatalogCredential, Remove-AzureRmDataLakeAnalyticsCatalogCredential, Remove-AzureRmDataLakeAnalyticsCatalogSecret...}             
Script     6.2.1      AzureRM.DataLakeStore               {Get-AzureRmDataLakeStoreTrustedIdProvider, Remove-AzureRmDataLakeStoreTrustedIdProvider, Remove-AzureRmDataLakeStoreFirewallRule, Set-AzureRmDataLakeStoreTrustedIdProvider...}                       
Script     4.0.9      AzureRM.DevTestLabs                 {Get-AzureRmDtlAllowedVMSizesPolicy, Get-AzureRmDtlAutoShutdownPolicy, Get-AzureRmDtlAutoStartPolicy, Get-AzureRmDtlVMsPerLabPolicy...}                                                                
Script     5.1.0      AzureRM.Dns                         {Get-AzureRmDnsRecordSet, New-AzureRmDnsRecordConfig, Remove-AzureRmDnsRecordSet, Set-AzureRmDnsRecordSet...}                                                                                          
Script     0.3.7      AzureRM.EventGrid                   {New-AzureRmEventGridTopic, Get-AzureRmEventGridTopic, Set-AzureRmEventGridTopic, New-AzureRmEventGridTopicKey...}                                                                                     
Script     0.7.0      AzureRM.EventHub                    {New-AzureRmEventHubNamespace, Get-AzureRmEventHubNamespace, Set-AzureRmEventHubNamespace, Remove-AzureRmEventHubNamespace...}                                                                         
Script     4.1.8      AzureRM.HDInsight                   {Get-AzureRmHDInsightJob, New-AzureRmHDInsightSqoopJobDefinition, Wait-AzureRmHDInsightJob, New-AzureRmHDInsightStreamingMapReduceJobDefinition...}                                                    
Script     5.1.5      AzureRM.Insights                    {Get-AzureRmMetricDefinition, Get-AzureRmMetric, Remove-AzureRmLogProfile, Get-AzureRmLogProfile...}                                                                                                   
Script     3.1.8      AzureRM.IotHub                      {Add-AzureRmIotHubKey, Get-AzureRmIotHubEventHubConsumerGroup, Get-AzureRmIotHubConnectionString, Get-AzureRmIotHubJob...}                                                                             
Script     5.2.1      AzureRM.KeyVault                    {Add-AzureKeyVaultCertificate, Update-AzureKeyVaultCertificate, Stop-AzureKeyVaultCertificateOperation, Get-AzureKeyVaultCertificateOperation...}                                                      
Script     4.1.4      AzureRM.LogicApp                    {Get-AzureRmIntegrationAccountAgreement, Get-AzureRmIntegrationAccountCallbackUrl, Get-AzureRmIntegrationAccountCertificate, Get-AzureRmIntegrationAccount...}                                         
Script     0.18.5     AzureRM.MachineLearning             {Move-AzureRmMlCommitmentAssociation, Get-AzureRmMlCommitmentAssociation, Get-AzureRmMlCommitmentPlanUsageHistory, Remove-AzureRmMlCommitmentPlan...}                                                  
Script     0.4.8      AzureRM.MachineLearningCompute      {Get-AzureRmMlOpCluster, Get-AzureRmMlOpClusterKey, Test-AzureRmMlOpClusterSystemServicesUpdateAvailability, Update-AzureRmMlOpClusterSystemService...}                                                
Script     0.2.5      AzureRM.MarketplaceOrdering         {Get-AzureRmMarketplaceTerms, Set-AzureRmMarketplaceTerms}                                                                                                                                             
Script     0.10.4     AzureRM.Media                       {Sync-AzureRmMediaServiceStorageKeys, Set-AzureRmMediaServiceKey, Get-AzureRmMediaServiceKeys, Get-AzureRmMediaServiceNameAvailability...}                                                             
Script     6.10.0     AzureRM.Network                     {Add-AzureRmApplicationGatewayAuthenticationCertificate, Get-AzureRmApplicationGatewayAuthenticationCertificate, New-AzureRmApplicationGatewayAuthenticationCertificate, Remove-AzureRmApplicationGa...
Script     5.0.3      AzureRM.NotificationHubs            {Get-AzureRmNotificationHub, Get-AzureRmNotificationHubAuthorizationRules, Get-AzureRmNotificationHubListKeys, Get-AzureRmNotificationHubPNSCredentials...}                                            
Script     5.0.6      AzureRM.OperationalInsights         {New-AzureRmOperationalInsightsAzureActivityLogDataSource, New-AzureRmOperationalInsightsCustomLogDataSource, Disable-AzureRmOperationalInsightsLinuxCustomLogCollection, Disable-AzureRmOperational...
Script     1.1.0      AzureRM.PolicyInsights              {Get-AzureRmPolicyEvent, Get-AzureRmPolicyState, Get-AzureRmPolicyStateSummary, Get-AzureRmPolicyRemediation...}                                                                                       
Script     4.1.10     AzureRM.PowerBIEmbedded             {Remove-AzureRmPowerBIWorkspaceCollection, Get-AzureRmPowerBIWorkspaceCollection, Get-AzureRmPowerBIWorkspaceCollectionAccessKeys, Get-AzureRmPowerBIWorkspace...}                                     
Script     5.8.0      AzureRM.profile                     {Disable-AzureRmDataCollection, Disable-AzureRmContextAutosave, Enable-AzureRmDataCollection, Enable-AzureRmContextAutosave...}                                                                        
Script     4.1.8      AzureRM.RecoveryServices            {Get-AzureRmRecoveryServicesBackupProperty, Get-AzureRmRecoveryServicesVault, Get-AzureRmRecoveryServicesVaultSettingsFile, New-AzureRmRecoveryServicesVault...}                                       
Script     4.5.0      AzureRM.RecoveryServices.Backup     {Backup-AzureRmRecoveryServicesBackupItem, Get-AzureRmRecoveryServicesBackupManagementServer, Get-AzureRmRecoveryServicesBackupContainer, Unregister-AzureRmRecoveryServicesBackupContainer...}        
Script     0.2.10     AzureRM.RecoveryServices.SiteRec... {Edit-AzureRmRecoveryServicesAsrRecoveryPlan, Get-AzureRmRecoveryServicesAsrAlertSetting, Get-AzureRmRecoveryServicesAsrEvent, Get-AzureRmRecoveryServicesAsrFabric...}                                
Script     5.1.0      AzureRM.RedisCache                  {Remove-AzureRmRedisCachePatchSchedule, New-AzureRmRedisCacheScheduleEntry, Get-AzureRmRedisCachePatchSchedule, New-AzureRmRedisCachePatchSchedule...}                                                 
Script     0.3.10     AzureRM.Relay                       {New-AzureRmRelayNamespace, Get-AzureRmRelayNamespace, Set-AzureRmRelayNamespace, Remove-AzureRmRelayNamespace...}                                                                                     
Script     6.7.1      AzureRM.Resources                   {Get-AzureRmProviderOperation, Remove-AzureRmRoleAssignment, Get-AzureRmRoleAssignment, New-AzureRmRoleAssignment...}                                                                                  
Script     0.16.10    AzureRM.Scheduler                   {Disable-AzureRmSchedulerJobCollection, Enable-AzureRmSchedulerJobCollection, Get-AzureRmSchedulerJobCollection, Get-AzureRmSchedulerJob...}                                                           
Script     0.6.13     AzureRM.ServiceBus                  {New-AzureRmServiceBusNamespace, Get-AzureRmServiceBusNamespace, Set-AzureRmServiceBusNamespace, Remove-AzureRmServiceBusNamespace...}                                                                 
Script     0.3.13     AzureRM.ServiceFabric               {Add-AzureRmServiceFabricApplicationCertificate, Add-AzureRmServiceFabricClientCertificate, Add-AzureRmServiceFabricClusterCertificate, Add-AzureRmServiceFabricNode...}                               
Script     1.0.0      AzureRM.SignalR                     {New-AzureRmSignalR, Get-AzureRmSignalR, Get-AzureRmSignalRKey, New-AzureRmSignalRKey...}                                                                                                              
Script     4.11.5     AzureRM.Sql                         {Get-AzureRmSqlDatabaseTransparentDataEncryption, Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity, Set-AzureRmSqlDatabaseTransparentDataEncryption, Get-AzureRmSqlDatabaseUpgradeHint...}      
Script     5.2.0      AzureRM.Storage                     {Get-AzureRmStorageAccount, Get-AzureRmStorageAccountKey, New-AzureRmStorageAccount, New-AzureRmStorageAccountKey...}                                                                                  
Script     4.0.10     AzureRM.StreamAnalytics             {Get-AzureRmStreamAnalyticsFunction, Get-AzureRmStreamAnalyticsDefaultFunctionDefinition, New-AzureRmStreamAnalyticsFunction, Remove-AzureRmStreamAnalyticsFunction...}                                
Script     4.0.5      AzureRM.Tags                        {Remove-AzureRmTag, Get-AzureRmTag, New-AzureRmTag}                                                                                                                                                    
Script     4.1.1      AzureRM.TrafficManager              {Add-AzureRmTrafficManagerCustomHeaderToEndpoint, Remove-AzureRmTrafficManagerCustomHeaderFromEndpoint, Add-AzureRmTrafficManagerCustomHeaderToProfile, Remove-AzureRmTrafficManagerCustomHeaderFrom...
Script     4.0.5      AzureRM.UsageAggregates             Get-UsageAggregates                                                                                                                                                                                    
Script     5.2.0      AzureRM.Websites                    {Get-AzureRmAppServicePlan, Set-AzureRmAppServicePlan, New-AzureRmAppServicePlan, Remove-AzureRmAppServicePlan...}                                                                                     
Manifest   1.0.0.23   AzureRmStorageTable                 {Add-StorageTableRow, Get-AzureStorageTableRowAll, Get-AzureStorageTableRowByPartitionKey, Get-AzureStorageTableRowByColumnName...}                                                                    
Script     2.1.12.137 CosmosDB                            {Get-CosmosDbAccount, Get-CosmosDbAccountConnectionString, Get-CosmosDbAccountMasterKey, Get-CosmosDbAttachment...}                                                                                    
Script     1.0.1      Microsoft.PowerShell.Operation.V... {Get-OperationValidation, Invoke-OperationValidation}                                                                                                                                                  
Binary     1.0.0.1    PackageManagement                   {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...}                                                                                                                                 
Script     3.4.0      Pester                              {Describe, Context, It, Should...}                                                                                                                                                                     
Script     1.0.0.1    PowerShellGet                       {Install-Module, Find-Module, Save-Module, Update-Module...}                                                                                                                                           
Script     1.2        PSReadline                          {Get-PSReadlineKeyHandler, Set-PSReadlineKeyHandler, Remove-PSReadlineKeyHandler, Get-PSReadlineOption...}                                                                                             

    Каталог: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules

ModuleType Version    Name                                ExportedCommands                                                                                                                                                                                       
---------- -------    ----                                ----------------                                                                                                                                                                                       
Manifest   1.0.0.0    AppBackgroundTask                   {Disable-AppBackgroundTaskDiagnosticLog, Enable-AppBackgroundTaskDiagnosticLog, Set-AppBackgroundTaskResourcePolicy, Unregister-AppBackgroundTask...}                                                  
Manifest   2.0.0.0    Appx                                {Add-AppxPackage, Get-AppxPackage, Get-AppxPackageManifest, Remove-AppxPackage...}                                                                                                                     
Manifest   1.0.0.0    BitLocker                           {Unlock-BitLocker, Suspend-BitLocker, Resume-BitLocker, Remove-BitLockerKeyProtector...}                                                                                                               
Manifest   2.0.0.0    BitsTransfer                        {Add-BitsFile, Complete-BitsTransfer, Get-BitsTransfer, Remove-BitsTransfer...}                                                                                                                        
Manifest   1.0.0.0    CimCmdlets                          {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstance, Get-CimSession...}                                                                                                                          
Manifest   1.0        Defender                            {Get-MpPreference, Set-MpPreference, Add-MpPreference, Remove-MpPreference...}                                                                                                                         
Manifest   1.0.0.0    DeliveryOptimization                {Get-DeliveryOptimizationStatus, Get-DeliveryOptimizationPerfSnap, Get-DeliveryOptimizationLog, Get-DODownloadMode...}                                                                                 
Manifest   1.0.0.0    DirectAccessClientComponents        {Disable-DAManualEntryPointSelection, Enable-DAManualEntryPointSelection, Get-DAClientExperienceConfiguration, Get-DAEntryPointTableItem...}                                                           
Script     3.0        Dism                                {Add-AppxProvisionedPackage, Add-WindowsDriver, Add-WindowsCapability, Add-WindowsImage...}                                                                                                            
Manifest   1.0.0.0    DnsClient                           {Resolve-DnsName, Clear-DnsClientCache, Get-DnsClient, Get-DnsClientCache...}                                                                                                                          
Manifest   1.0.0.0    EventTracingManagement              {Start-EtwTraceSession, New-EtwTraceSession, Get-EtwTraceSession, Update-EtwTraceSession...}                                                                                                           
Script     1.1.0.0    IISAdministration                   {Get-IISAppPool, Start-IISCommitDelay, Stop-IISCommitDelay, Get-IISSite...}                                                                                                                            
Manifest   2.0.0.0    International                       {Get-WinDefaultInputMethodOverride, Set-WinDefaultInputMethodOverride, Get-WinHomeLocation, Set-WinHomeLocation...}                                                                                    
Manifest   1.0.0.0    iSCSI                               {Get-IscsiTargetPortal, New-IscsiTargetPortal, Remove-IscsiTargetPortal, Update-IscsiTargetPortal...}                                                                                                  
Script     1.0.0.0    ISE                                 {New-IseSnippet, Import-IseSnippet, Get-IseSnippet}                                                                                                                                                    
Manifest   1.0.0.0    Kds                                 {Add-KdsRootKey, Get-KdsRootKey, Test-KdsRootKey, Set-KdsConfiguration...}                                                                                                                             
Manifest   1.0.1.0    Microsoft.PowerShell.Archive        {Compress-Archive, Expand-Archive}                                                                                                                                                                     
Manifest   3.0.0.0    Microsoft.PowerShell.Diagnostics    {Get-WinEvent, Get-Counter, Import-Counter, Export-Counter...}                                                                                                                                         
Manifest   3.0.0.0    Microsoft.PowerShell.Host           {Start-Transcript, Stop-Transcript}                                                                                                                                                                    
Manifest   1.0.0.0    Microsoft.PowerShell.LocalAccounts  {Add-LocalGroupMember, Disable-LocalUser, Enable-LocalUser, Get-LocalGroup...}                                                                                                                         
Manifest   3.1.0.0    Microsoft.PowerShell.Management     {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path...}                                                                                                                                         
Script     1.0        Microsoft.PowerShell.ODataUtils     Export-ODataEndpointProxy                                                                                                                                                                              
Manifest   3.0.0.0    Microsoft.PowerShell.Security       {Get-Acl, Set-Acl, Get-PfxCertificate, Get-Credential...}                                                                                                                                              
Manifest   3.1.0.0    Microsoft.PowerShell.Utility        {Format-List, Format-Custom, Format-Table, Format-Wide...}                                                                                                                                             
Manifest   3.0.0.0    Microsoft.WSMan.Management          {Disable-WSManCredSSP, Enable-WSManCredSSP, Get-WSManCredSSP, Set-WSManQuickConfig...}                                                                                                                 
Manifest   1.0        MMAgent                             {Disable-MMAgent, Enable-MMAgent, Set-MMAgent, Get-MMAgent...}                                                                                                                                         
Manifest   1.0.0.0    MsDtc                               {New-DtcDiagnosticTransaction, Complete-DtcDiagnosticTransaction, Join-DtcDiagnosticResourceManager, Receive-DtcDiagnosticTransaction...}                                                              
Manifest   2.0.0.0    NetAdapter                          {Disable-NetAdapter, Disable-NetAdapterBinding, Disable-NetAdapterChecksumOffload, Disable-NetAdapterEncapsulatedPacketTaskOffload...}                                                                 
Manifest   1.0.0.0    NetConnection                       {Get-NetConnectionProfile, Set-NetConnectionProfile}                                                                                                                                                   
Manifest   1.0.0.0    NetEventPacketCapture               {New-NetEventSession, Remove-NetEventSession, Get-NetEventSession, Set-NetEventSession...}                                                                                                             
Manifest   2.0.0.0    NetLbfo                             {Add-NetLbfoTeamMember, Add-NetLbfoTeamNic, Get-NetLbfoTeam, Get-NetLbfoTeamMember...}                                                                                                                 
Manifest   1.0.0.0    NetNat                              {Get-NetNat, Get-NetNatExternalAddress, Get-NetNatStaticMapping, Get-NetNatSession...}                                                                                                                 
Manifest   2.0.0.0    NetQos                              {Get-NetQosPolicy, Set-NetQosPolicy, Remove-NetQosPolicy, New-NetQosPolicy}                                                                                                                            
Manifest   2.0.0.0    NetSecurity                         {Get-DAPolicyChange, New-NetIPsecAuthProposal, New-NetIPsecMainModeCryptoProposal, New-NetIPsecQuickModeCryptoProposal...}                                                                             
Manifest   1.0.0.0    NetSwitchTeam                       {New-NetSwitchTeam, Remove-NetSwitchTeam, Get-NetSwitchTeam, Rename-NetSwitchTeam...}                                                                                                                  
Manifest   1.0.0.0    NetTCPIP                            {Get-NetIPAddress, Get-NetIPInterface, Get-NetIPv4Protocol, Get-NetIPv6Protocol...}                                                                                                                    
Manifest   1.0.0.0    NetworkConnectivityStatus           {Get-DAConnectionStatus, Get-NCSIPolicyConfiguration, Reset-NCSIPolicyConfiguration, Set-NCSIPolicyConfiguration}                                                                                      
Manifest   1.0.0.0    NetworkSwitchManager                {Disable-NetworkSwitchEthernetPort, Enable-NetworkSwitchEthernetPort, Get-NetworkSwitchEthernetPort, Remove-NetworkSwitchEthernetPortIPAddress...}                                                     
Manifest   1.0.0.0    NetworkTransition                   {Add-NetIPHttpsCertBinding, Disable-NetDnsTransitionConfiguration, Disable-NetIPHttpsProfile, Disable-NetNatTransitionConfiguration...}                                                                
Manifest   1.0.0.0    PcsvDevice                          {Get-PcsvDevice, Start-PcsvDevice, Stop-PcsvDevice, Restart-PcsvDevice...}                                                                                                                             
Binary     1.0.0.0    PersistentMemory                    {Get-PmemDisk, Get-PmemPhysicalDevice, Get-PmemUnusedRegion, New-PmemDisk...}                                                                                                                          
Manifest   1.0.0.0    PKI                                 {Add-CertificateEnrollmentPolicyServer, Export-Certificate, Export-PfxCertificate, Get-CertificateAutoEnrollmentPolicy...}                                                                             
Manifest   1.0.0.0    PnpDevice                           {Get-PnpDevice, Get-PnpDeviceProperty, Enable-PnpDevice, Disable-PnpDevice}                                                                                                                            
Manifest   1.1        PrintManagement                     {Add-Printer, Add-PrinterDriver, Add-PrinterPort, Get-PrintConfiguration...}                                                                                                                           
Binary     1.0.11     ProcessMitigations                  {Get-ProcessMitigation, Set-ProcessMitigation, ConvertTo-ProcessMitigationPolicy}                                                                                                                      
Script     3.0        Provisioning                        {Install-ProvisioningPackage, Export-ProvisioningPackage, Install-TrustedProvisioningCertificate, Export-Trace...}                                                                                     
Manifest   1.1        PSDesiredStateConfiguration         {Set-DscLocalConfigurationManager, Start-DscConfiguration, Test-DscConfiguration, Publish-DscConfiguration...}                                                                                         
Script     1.0.0.0    PSDiagnostics                       {Disable-PSTrace, Disable-PSWSManCombinedTrace, Disable-WSManTrace, Enable-PSTrace...}                                                                                                                 
Binary     1.1.0.0    PSScheduledJob                      {New-JobTrigger, Add-JobTrigger, Remove-JobTrigger, Get-JobTrigger...}                                                                                                                                 
Manifest   2.0.0.0    PSWorkflow                          {New-PSWorkflowExecutionOption, New-PSWorkflowSession, nwsn}                                                                                                                                           
Manifest   1.0.0.0    PSWorkflowUtility                   Invoke-AsWorkflow                                                                                                                                                                                      
Manifest   1.0.0.0    ScheduledTasks                      {Get-ScheduledTask, Set-ScheduledTask, Register-ScheduledTask, Unregister-ScheduledTask...}                                                                                                            
Manifest   2.0.0.0    SecureBoot                          {Confirm-SecureBootUEFI, Set-SecureBootUEFI, Get-SecureBootUEFI, Format-SecureBootUEFI...}                                                                                                             
Manifest   2.0.0.0    SmbShare                            {Get-SmbShare, Remove-SmbShare, Set-SmbShare, Block-SmbShareAccess...}                                                                                                                                 
Manifest   2.0.0.0    SmbWitness                          {Get-SmbWitnessClient, Move-SmbWitnessClient, gsmbw, msmbw...}                                                                                                                                         
Manifest   1.0.0.0    StartLayout                         {Export-StartLayout, Import-StartLayout, Export-StartLayoutEdgeAssets, Get-StartApps}                                                                                                                  
Manifest   2.0.0.0    Storage                             {Add-InitiatorIdToMaskingSet, Add-PartitionAccessPath, Add-PhysicalDisk, Add-StorageFaultDomain...}                                                                                                    
Manifest   2.0.0.0    TLS                                 {New-TlsSessionTicketKey, Enable-TlsSessionTicketKey, Disable-TlsSessionTicketKey, Export-TlsSessionTicketKey...}                                                                                      
Manifest   1.0.0.0    TroubleshootingPack                 {Get-TroubleshootingPack, Invoke-TroubleshootingPack}                                                                                                                                                  
Manifest   2.0.0.0    TrustedPlatformModule               {Get-Tpm, Initialize-Tpm, Clear-Tpm, Unblock-Tpm...}                                                                                                                                                   
Manifest   2.0.0.0    VpnClient                           {Add-VpnConnection, Set-VpnConnection, Remove-VpnConnection, Get-VpnConnection...}                                                                                                                     
Manifest   1.0.0.0    Wdac                                {Get-OdbcDriver, Set-OdbcDriver, Get-OdbcDsn, Add-OdbcDsn...}                                                                                                                                          
Manifest   1.0.0.0    WebAdministration                   {Start-WebCommitDelay, Stop-WebCommitDelay, Get-WebConfigurationLock, Remove-WebConfigurationLock...}                                                                                                  
Manifest   1.0.0.0    WindowsDeveloperLicense             {Get-WindowsDeveloperLicense, Unregister-WindowsDeveloperLicense, Show-WindowsDeveloperLicenseRegistration}                                                                                            
Script     1.0        WindowsErrorReporting               {Enable-WindowsErrorReporting, Disable-WindowsErrorReporting, Get-WindowsErrorReporting}                                                                                                               
Manifest   1.0.0.0    WindowsSearch                       {Get-WindowsSearchSetting, Set-WindowsSearchSetting}                                                                                                                                                   
Manifest   1.0.0.0    WindowsUpdate                       Get-WindowsUpdateLog                                                                                                                                                                                   
Manifest   1.0.0.2    WindowsUpdateProvider               {Get-WUAVersion, Get-WULastInstallationDate, Get-WULastScanSuccessDate, Get-WUIsPendingReboot...}                                                                                                      

Environment Data

> $PSVersionTable

Name                           Value                                                                                                                                                                                                                             
----                           -----                                                                                                                                                                                                                             
PSVersion                      5.1.17134.228                                                                                                                                                                                                                     
PSEdition                      Desktop                                                                                                                                                                                                                           
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                                                                                           
BuildVersion                   10.0.17134.228                                                                                                                                                                                                                    
CLRVersion                     4.0.30319.42000                                                                                                                                                                                                                   
WSManStackVersion              3.0                                                                                                                                                                                                                               
PSRemotingProtocolVersion      2.3                                                                                                                                                                                                                               
SerializationVersion           1.1.0.1                                                                                                                                                                                                                           

Debug Output

ОТЛАДКА: 13:22:33 - NewAzureResourceCmdlet begin processing with ParameterSet 'BySubscriptionLevel'.
ОТЛАДКА: 13:22:35 - using account id 'andrew.guz@grse.de'...
ОТЛАДКА: [Common.Authentication]: Authenticating using Account: 'andrew.guz@grse.de', environment: 'AzureCloud', tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c'
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:36:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:36:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: [Common.Authentication]: Authenticating using configuration values: Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:
2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthrity: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:
oauth:2.0:oob
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:36: dfd27ecd-7ce9-4b70-bfcf-3e614a4c1058 - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/
    Resource: https://management.core.windows.net/
    ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
    CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (2 items)
    Authentication Target: User

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:36:  - TokenCache: Deserialized 2 items to token cache.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:22:36: dfd27ecd-7ce9-4b70-bfcf-3e614a4c1058 - TokenCache: Looking up cache for a token...

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:36: dfd27ecd-7ce9-4b70-bfcf-3e614a4c1058 - TokenCache: An item matching the requested resource was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:22:36: dfd27ecd-7ce9-4b70-bfcf-3e614a4c1058 - TokenCache: 54.6423355233333 minutes left until token in cache expires

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:36: dfd27ecd-7ce9-4b70-bfcf-3e614a4c1058 - TokenCache: A matching item (access token or refresh token or both) was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:36: dfd27ecd-7ce9-4b70-bfcf-3e614a4c1058 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: W9yuVZ650RDOvLeE3EKQsOQ7R9wtXeprdm4c5BK7q3Y=
    Refresh Token Hash: jBoplmh/NqW52c1v1h8K0YIr47KcpsSrsWfFhSQXvH4=
    Expiration Time: 11/16/2018 11:17:15 +00:00
    User Hash: ZVVy+Idn5uUO80Y+caPxIEzTRPWMP9V83P8i4UTlHU8=

ОТЛАДКА: [Common.Authentication]: Received token with LoginType 'LiveId', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '11/16/2018 11:17:15 +00:00', MultipleResource? 'True', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: User info for token DisplayId: 'andrew.guz@grse.de', Name: fd86b10b-4609-4d34-9e6e-df54a5b192db 6b0da22d-7829-450a-befe-4da728d474b1, IdProvider: 'live.com', Uid: 'b8d7a86c-8af1-4d83-8468-37d4891e094d'
ОТЛАДКА: [Common.Authentication]: Checking token expiration, token expires '11/16/2018 11:17:15 +00:00' Comparing to '11/16/2018 10:22:36 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:54:38.5391047'
ОТЛАДКА: ============================ HTTP REQUEST ============================

HTTP Method:
PUT

Absolute Uri:
https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount?api-version=2015-04-08

Headers:
User-Agent                    : AzurePowershell/v6.9.0,PSVersion/v5.1.17134.228
ParameterSetName              : BySubscriptionLevel
CommandName                   : New-AzureRmResource

Body:
{
  "properties": {
    "databaseAccountOfferType": "Standard",
    "consistencyPolicy": {
      "maxIntervalInSeconds": "86400",
      "maxStalenessPrefix": "1000000",
      "defaultConsistencyLevel": "BoundedStaleness"
    },
    "capabilities": [
      {
        "name": "EnableTable"
      }
    ]
  },
  "location": "West Europe",
  "tags": {
    "defaultExperience": "Table"
  }
}

ОТЛАДКА: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Pragma                        : no-cache
x-ms-request-id               : 9ebc6b37-916b-4ecb-ba95-630b58b45fcf
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-gatewayversion           : version=2.1.0.0
x-ms-ratelimit-remaining-subscription-writes: 1199
x-ms-correlation-request-id   : 50cfdbd8-bffe-4e32-b112-48fd1e22cd13
x-ms-routing-request-id       : FRANCECENTRAL:20181116T102239Z:50cfdbd8-bffe-4e32-b112-48fd1e22cd13
X-Content-Type-Options        : nosniff
Cache-Control                 : no-store, no-cache
Date                          : Fri, 16 Nov 2018 10:22:39 GMT
Location                      : https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-
630b58b45fcf?api-version=2015-04-08
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "id": "/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDB/databaseAccounts/pynopdatabaseaccount",
  "name": "pynopdatabaseaccount",
  "location": "West Europe",
  "type": "Microsoft.DocumentDB/databaseAccounts",
  "kind": "GlobalDocumentDB",
  "tags": {
    "defaultExperience": "Table"
  },
  "properties": {
    "provisioningState": "Initializing",
    "ipRangeFilter": "",
    "enableAutomaticFailover": false,
    "enableMultipleWriteLocations": false,
    "isVirtualNetworkFilterEnabled": false,
    "virtualNetworkRules": [],
    "EnabledApiTypes": "Sql",
    "databaseAccountOfferType": "Standard",
    "consistencyPolicy": {
      "defaultConsistencyLevel": "BoundedStaleness",
      "maxIntervalInSeconds": 86400,
      "maxStalenessPrefix": 1000000
    },
    "configurationOverrides": {},
    "writeLocations": [
      {
        "id": "pynopdatabaseaccount-westeurope",
        "locationName": "West Europe",
        "provisioningState": "Initializing",
        "failoverPriority": 0
      }
    ],
    "readLocations": [
      {
        "id": "pynopdatabaseaccount-westeurope",
        "locationName": "West Europe",
        "provisioningState": "Initializing",
        "failoverPriority": 0
      }
    ],
    "failoverPolicies": [
      {
        "id": "pynopdatabaseaccount-westeurope",
        "locationName": "West Europe",
        "failoverPriority": 0
      }
    ],
    "capabilities": []
  }
}

ОТЛАДКА: [Common.Authentication]: Authenticating using Account: 'andrew.guz@grse.de', environment: 'AzureCloud', tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c'
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:38:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:38:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: [Common.Authentication]: Authenticating using configuration values: Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:
2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthrity: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:
oauth:2.0:oob
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:38: 11dc15eb-6ddd-4e98-a2b6-22ea0a9d81a5 - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/
    Resource: https://management.core.windows.net/
    ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
    CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (2 items)
    Authentication Target: User

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:38:  - TokenCache: Deserialized 2 items to token cache.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:22:38: 11dc15eb-6ddd-4e98-a2b6-22ea0a9d81a5 - TokenCache: Looking up cache for a token...

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:38: 11dc15eb-6ddd-4e98-a2b6-22ea0a9d81a5 - TokenCache: An item matching the requested resource was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:22:38: 11dc15eb-6ddd-4e98-a2b6-22ea0a9d81a5 - TokenCache: 54.610814365 minutes left until token in cache expires

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:38: 11dc15eb-6ddd-4e98-a2b6-22ea0a9d81a5 - TokenCache: A matching item (access token or refresh token or both) was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:38: 11dc15eb-6ddd-4e98-a2b6-22ea0a9d81a5 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: W9yuVZ650RDOvLeE3EKQsOQ7R9wtXeprdm4c5BK7q3Y=
    Refresh Token Hash: jBoplmh/NqW52c1v1h8K0YIr47KcpsSrsWfFhSQXvH4=
    Expiration Time: 11/16/2018 11:17:15 +00:00
    User Hash: ZVVy+Idn5uUO80Y+caPxIEzTRPWMP9V83P8i4UTlHU8=

ОТЛАДКА: [Common.Authentication]: Received token with LoginType 'LiveId', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: Authenticating using Account: 'andrew.guz@grse.de', environment: 'AzureCloud', tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c'
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:39:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:39:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: [Common.Authentication]: Authenticating using configuration values: Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:
2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthrity: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:
oauth:2.0:oob
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:39: a1b09d39-308e-49d6-8ccc-c19eb46b3a68 - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/
    Resource: https://management.core.windows.net/
    ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
    CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (2 items)
    Authentication Target: User

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:39:  - TokenCache: Deserialized 2 items to token cache.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:22:39: a1b09d39-308e-49d6-8ccc-c19eb46b3a68 - TokenCache: Looking up cache for a token...

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:39: a1b09d39-308e-49d6-8ccc-c19eb46b3a68 - TokenCache: An item matching the requested resource was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:22:39: a1b09d39-308e-49d6-8ccc-c19eb46b3a68 - TokenCache: 54.6031187833333 minutes left until token in cache expires

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:39: a1b09d39-308e-49d6-8ccc-c19eb46b3a68 - TokenCache: A matching item (access token or refresh token or both) was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:22:39: a1b09d39-308e-49d6-8ccc-c19eb46b3a68 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: W9yuVZ650RDOvLeE3EKQsOQ7R9wtXeprdm4c5BK7q3Y=
    Refresh Token Hash: jBoplmh/NqW52c1v1h8K0YIr47KcpsSrsWfFhSQXvH4=
    Expiration Time: 11/16/2018 11:17:15 +00:00
    User Hash: ZVVy+Idn5uUO80Y+caPxIEzTRPWMP9V83P8i4UTlHU8=

ОТЛАДКА: [Common.Authentication]: Received token with LoginType 'LiveId', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '11/16/2018 11:17:15 +00:00', MultipleResource? 'True', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: User info for token DisplayId: 'andrew.guz@grse.de', Name: fd86b10b-4609-4d34-9e6e-df54a5b192db 6b0da22d-7829-450a-befe-4da728d474b1, IdProvider: 'live.com', Uid: 'b8d7a86c-8af1-4d83-8468-37d4891e094d'
ОТЛАДКА: [Common.Authentication]: Checking token expiration, token expires '11/16/2018 11:17:15 +00:00' Comparing to '11/16/2018 10:22:39 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:54:36.1641411'
ОТЛАДКА: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-630b58b45fcf?api-version=2015-04
-08

Headers:
User-Agent                    : AzurePowershell/v6.9.0,PSVersion/v5.1.17134.228
ParameterSetName              : BySubscriptionLevel
CommandName                   : New-AzureRmResource

Body:

ОТЛАДКА: ============================ HTTP RESPONSE ============================

Status Code:
Accepted

Headers:
Pragma                        : no-cache
x-ms-request-id               : 9ebc6b37-916b-4ecb-ba95-630b58b45fcf
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-gatewayversion           : version=2.1.0.0
x-ms-ratelimit-remaining-subscription-reads: 11997
x-ms-correlation-request-id   : 2ee4263e-d8c6-4e27-91e4-b5ffa60769d5
x-ms-routing-request-id       : FRANCECENTRAL:20181116T102240Z:2ee4263e-d8c6-4e27-91e4-b5ffa60769d5
X-Content-Type-Options        : nosniff
Cache-Control                 : no-store, no-cache
Date                          : Fri, 16 Nov 2018 10:22:40 GMT
Location                      : https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-
630b58b45fcf?api-version=2015-04-08
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "status": "Enqueued",
  "error": {}
}

ОТЛАДКА: [Common.Authentication]: Authenticating using Account: 'andrew.guz@grse.de', environment: 'AzureCloud', tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c'
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:23:39:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:23:39:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: [Common.Authentication]: Authenticating using configuration values: Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:
2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthrity: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:
oauth:2.0:oob
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:23:39: edc2ae5b-8e4b-499e-af9f-5bb223254f56 - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/
    Resource: https://management.core.windows.net/
    ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
    CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (2 items)
    Authentication Target: User

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:23:39:  - TokenCache: Deserialized 2 items to token cache.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:23:39: edc2ae5b-8e4b-499e-af9f-5bb223254f56 - TokenCache: Looking up cache for a token...

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:23:39: edc2ae5b-8e4b-499e-af9f-5bb223254f56 - TokenCache: An item matching the requested resource was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:23:39: edc2ae5b-8e4b-499e-af9f-5bb223254f56 - TokenCache: 53.5930553683333 minutes left until token in cache expires

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:23:39: edc2ae5b-8e4b-499e-af9f-5bb223254f56 - TokenCache: A matching item (access token or refresh token or both) was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:23:39: edc2ae5b-8e4b-499e-af9f-5bb223254f56 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: W9yuVZ650RDOvLeE3EKQsOQ7R9wtXeprdm4c5BK7q3Y=
    Refresh Token Hash: jBoplmh/NqW52c1v1h8K0YIr47KcpsSrsWfFhSQXvH4=
    Expiration Time: 11/16/2018 11:17:15 +00:00
    User Hash: ZVVy+Idn5uUO80Y+caPxIEzTRPWMP9V83P8i4UTlHU8=

ОТЛАДКА: [Common.Authentication]: Received token with LoginType 'LiveId', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '11/16/2018 11:17:15 +00:00', MultipleResource? 'True', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: User info for token DisplayId: 'andrew.guz@grse.de', Name: fd86b10b-4609-4d34-9e6e-df54a5b192db 6b0da22d-7829-450a-befe-4da728d474b1, IdProvider: 'live.com', Uid: 'b8d7a86c-8af1-4d83-8468-37d4891e094d'
ОТЛАДКА: [Common.Authentication]: Checking token expiration, token expires '11/16/2018 11:17:15 +00:00' Comparing to '11/16/2018 10:23:39 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:53:35.5813436'
ОТЛАДКА: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-630b58b45fcf?api-version=2015-04
-08

Headers:
User-Agent                    : AzurePowershell/v6.9.0,PSVersion/v5.1.17134.228
ParameterSetName              : BySubscriptionLevel
CommandName                   : New-AzureRmResource

Body:

ОТЛАДКА: ============================ HTTP RESPONSE ============================

Status Code:
Accepted

Headers:
Pragma                        : no-cache
x-ms-request-id               : 9ebc6b37-916b-4ecb-ba95-630b58b45fcf
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-gatewayversion           : version=2.1.0.0
x-ms-ratelimit-remaining-subscription-reads: 11996
x-ms-correlation-request-id   : 46295625-8a69-4860-a6e1-3f07d1a8c3e7
x-ms-routing-request-id       : FRANCECENTRAL:20181116T102341Z:46295625-8a69-4860-a6e1-3f07d1a8c3e7
X-Content-Type-Options        : nosniff
Cache-Control                 : no-store, no-cache
Date                          : Fri, 16 Nov 2018 10:23:40 GMT
Location                      : https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-
630b58b45fcf?api-version=2015-04-08
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "status": "Dequeued",
  "error": {}
}

ОТЛАДКА: [Common.Authentication]: Authenticating using Account: 'andrew.guz@grse.de', environment: 'AzureCloud', tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c'
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:24:40:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:24:40:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: [Common.Authentication]: Authenticating using configuration values: Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:
2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthrity: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:
oauth:2.0:oob
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:24:40: 2f6f28c7-bd46-49b3-835c-aa1d58e9b00d - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/
    Resource: https://management.core.windows.net/
    ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
    CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (2 items)
    Authentication Target: User

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:24:40:  - TokenCache: Deserialized 2 items to token cache.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:24:40: 2f6f28c7-bd46-49b3-835c-aa1d58e9b00d - TokenCache: Looking up cache for a token...

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:24:40: 2f6f28c7-bd46-49b3-835c-aa1d58e9b00d - TokenCache: An item matching the requested resource was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:24:40: 2f6f28c7-bd46-49b3-835c-aa1d58e9b00d - TokenCache: 52.582876085 minutes left until token in cache expires

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:24:40: 2f6f28c7-bd46-49b3-835c-aa1d58e9b00d - TokenCache: A matching item (access token or refresh token or both) was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:24:40: 2f6f28c7-bd46-49b3-835c-aa1d58e9b00d - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: W9yuVZ650RDOvLeE3EKQsOQ7R9wtXeprdm4c5BK7q3Y=
    Refresh Token Hash: jBoplmh/NqW52c1v1h8K0YIr47KcpsSrsWfFhSQXvH4=
    Expiration Time: 11/16/2018 11:17:15 +00:00
    User Hash: ZVVy+Idn5uUO80Y+caPxIEzTRPWMP9V83P8i4UTlHU8=

ОТЛАДКА: [Common.Authentication]: Received token with LoginType 'LiveId', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '11/16/2018 11:17:15 +00:00', MultipleResource? 'True', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: User info for token DisplayId: 'andrew.guz@grse.de', Name: fd86b10b-4609-4d34-9e6e-df54a5b192db 6b0da22d-7829-450a-befe-4da728d474b1, IdProvider: 'live.com', Uid: 'b8d7a86c-8af1-4d83-8468-37d4891e094d'
ОТЛАДКА: [Common.Authentication]: Checking token expiration, token expires '11/16/2018 11:17:15 +00:00' Comparing to '11/16/2018 10:24:40 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:52:34.9715660'
ОТЛАДКА: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-630b58b45fcf?api-version=2015-04
-08

Headers:
User-Agent                    : AzurePowershell/v6.9.0,PSVersion/v5.1.17134.228
ParameterSetName              : BySubscriptionLevel
CommandName                   : New-AzureRmResource

Body:

ОТЛАДКА: ============================ HTTP RESPONSE ============================

Status Code:
Accepted

Headers:
Pragma                        : no-cache
x-ms-request-id               : 9ebc6b37-916b-4ecb-ba95-630b58b45fcf
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-gatewayversion           : version=2.1.0.0
x-ms-ratelimit-remaining-subscription-reads: 11998
x-ms-correlation-request-id   : 984a6d75-01e2-4b0a-8051-a25d02af84e2
x-ms-routing-request-id       : FRANCECENTRAL:20181116T102441Z:984a6d75-01e2-4b0a-8051-a25d02af84e2
X-Content-Type-Options        : nosniff
Cache-Control                 : no-store, no-cache
Date                          : Fri, 16 Nov 2018 10:24:41 GMT
Location                      : https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-
630b58b45fcf?api-version=2015-04-08
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "status": "Dequeued",
  "error": {}
}

ОТЛАДКА: [Common.Authentication]: Authenticating using Account: 'andrew.guz@grse.de', environment: 'AzureCloud', tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c'
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:25:40:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:25:40:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: [Common.Authentication]: Authenticating using configuration values: Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:
2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthrity: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:
oauth:2.0:oob
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:25:40: 13a99955-6ddb-45c4-a7f1-23f43d158964 - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/
    Resource: https://management.core.windows.net/
    ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
    CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (2 items)
    Authentication Target: User

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:25:40:  - TokenCache: Deserialized 2 items to token cache.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:25:40: 13a99955-6ddb-45c4-a7f1-23f43d158964 - TokenCache: Looking up cache for a token...

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:25:40: 13a99955-6ddb-45c4-a7f1-23f43d158964 - TokenCache: An item matching the requested resource was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:25:40: 13a99955-6ddb-45c4-a7f1-23f43d158964 - TokenCache: 51.5738209316667 minutes left until token in cache expires

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:25:40: 13a99955-6ddb-45c4-a7f1-23f43d158964 - TokenCache: A matching item (access token or refresh token or both) was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:25:40: 13a99955-6ddb-45c4-a7f1-23f43d158964 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: W9yuVZ650RDOvLeE3EKQsOQ7R9wtXeprdm4c5BK7q3Y=
    Refresh Token Hash: jBoplmh/NqW52c1v1h8K0YIr47KcpsSrsWfFhSQXvH4=
    Expiration Time: 11/16/2018 11:17:15 +00:00
    User Hash: ZVVy+Idn5uUO80Y+caPxIEzTRPWMP9V83P8i4UTlHU8=

ОТЛАДКА: [Common.Authentication]: Received token with LoginType 'LiveId', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '11/16/2018 11:17:15 +00:00', MultipleResource? 'True', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: User info for token DisplayId: 'andrew.guz@grse.de', Name: fd86b10b-4609-4d34-9e6e-df54a5b192db 6b0da22d-7829-450a-befe-4da728d474b1, IdProvider: 'live.com', Uid: 'b8d7a86c-8af1-4d83-8468-37d4891e094d'
ОТЛАДКА: [Common.Authentication]: Checking token expiration, token expires '11/16/2018 11:17:15 +00:00' Comparing to '11/16/2018 10:25:40 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:51:34.4272572'
ОТЛАДКА: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-630b58b45fcf?api-version=2015-04
-08

Headers:
User-Agent                    : AzurePowershell/v6.9.0,PSVersion/v5.1.17134.228
ParameterSetName              : BySubscriptionLevel
CommandName                   : New-AzureRmResource

Body:

ОТЛАДКА: ============================ HTTP RESPONSE ============================

Status Code:
Accepted

Headers:
Pragma                        : no-cache
x-ms-request-id               : 9ebc6b37-916b-4ecb-ba95-630b58b45fcf
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-gatewayversion           : version=2.1.0.0
x-ms-ratelimit-remaining-subscription-reads: 11997
x-ms-correlation-request-id   : 88b7ffd7-74f9-434b-ac32-0f9de95bc452
x-ms-routing-request-id       : FRANCECENTRAL:20181116T102542Z:88b7ffd7-74f9-434b-ac32-0f9de95bc452
X-Content-Type-Options        : nosniff
Cache-Control                 : no-store, no-cache
Date                          : Fri, 16 Nov 2018 10:25:41 GMT
Location                      : https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-
630b58b45fcf?api-version=2015-04-08
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "status": "Dequeued",
  "error": {}
}

ОТЛАДКА: [Common.Authentication]: Authenticating using Account: 'andrew.guz@grse.de', environment: 'AzureCloud', tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c'
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:26:41:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:26:41:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: [Common.Authentication]: Authenticating using configuration values: Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:
2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthrity: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:
oauth:2.0:oob
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:26:41: da1cc070-9c55-4c29-b0a1-faa1381ac17c - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/
    Resource: https://management.core.windows.net/
    ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
    CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (2 items)
    Authentication Target: User

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:26:41:  - TokenCache: Deserialized 2 items to token cache.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:26:41: da1cc070-9c55-4c29-b0a1-faa1381ac17c - TokenCache: Looking up cache for a token...

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:26:41: da1cc070-9c55-4c29-b0a1-faa1381ac17c - TokenCache: An item matching the requested resource was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:26:41: da1cc070-9c55-4c29-b0a1-faa1381ac17c - TokenCache: 50.5631081083333 minutes left until token in cache expires

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:26:41: da1cc070-9c55-4c29-b0a1-faa1381ac17c - TokenCache: A matching item (access token or refresh token or both) was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:26:41: da1cc070-9c55-4c29-b0a1-faa1381ac17c - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: W9yuVZ650RDOvLeE3EKQsOQ7R9wtXeprdm4c5BK7q3Y=
    Refresh Token Hash: jBoplmh/NqW52c1v1h8K0YIr47KcpsSrsWfFhSQXvH4=
    Expiration Time: 11/16/2018 11:17:15 +00:00
    User Hash: ZVVy+Idn5uUO80Y+caPxIEzTRPWMP9V83P8i4UTlHU8=

ОТЛАДКА: [Common.Authentication]: Received token with LoginType 'LiveId', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '11/16/2018 11:17:15 +00:00', MultipleResource? 'True', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: User info for token DisplayId: 'andrew.guz@grse.de', Name: fd86b10b-4609-4d34-9e6e-df54a5b192db 6b0da22d-7829-450a-befe-4da728d474b1, IdProvider: 'live.com', Uid: 'b8d7a86c-8af1-4d83-8468-37d4891e094d'
ОТЛАДКА: [Common.Authentication]: Checking token expiration, token expires '11/16/2018 11:17:15 +00:00' Comparing to '11/16/2018 10:26:41 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:50:33.7844575'
ОТЛАДКА: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-630b58b45fcf?api-version=2015-04
-08

Headers:
User-Agent                    : AzurePowershell/v6.9.0,PSVersion/v5.1.17134.228
ParameterSetName              : BySubscriptionLevel
CommandName                   : New-AzureRmResource

Body:

ОТЛАДКА: ============================ HTTP RESPONSE ============================

Status Code:
Accepted

Headers:
Pragma                        : no-cache
x-ms-request-id               : 9ebc6b37-916b-4ecb-ba95-630b58b45fcf
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-gatewayversion           : version=2.1.0.0
x-ms-ratelimit-remaining-subscription-reads: 11997
x-ms-correlation-request-id   : c5af0c0b-d008-4a47-a0cc-7b64fd6d5fa9
x-ms-routing-request-id       : FRANCECENTRAL:20181116T102642Z:c5af0c0b-d008-4a47-a0cc-7b64fd6d5fa9
X-Content-Type-Options        : nosniff
Cache-Control                 : no-store, no-cache
Date                          : Fri, 16 Nov 2018 10:26:41 GMT
Location                      : https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-
630b58b45fcf?api-version=2015-04-08
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "status": "Dequeued",
  "error": {}
}

ОТЛАДКА: [Common.Authentication]: Authenticating using Account: 'andrew.guz@grse.de', environment: 'AzureCloud', tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c'
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:27:42:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:27:42:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: [Common.Authentication]: Authenticating using configuration values: Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:
2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthrity: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:
oauth:2.0:oob
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:27:42: cfc9acc7-bcd3-4d02-b341-afd30e09336e - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/
    Resource: https://management.core.windows.net/
    ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
    CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (2 items)
    Authentication Target: User

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:27:42:  - TokenCache: Deserialized 2 items to token cache.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:27:42: cfc9acc7-bcd3-4d02-b341-afd30e09336e - TokenCache: Looking up cache for a token...

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:27:42: cfc9acc7-bcd3-4d02-b341-afd30e09336e - TokenCache: An item matching the requested resource was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:27:42: cfc9acc7-bcd3-4d02-b341-afd30e09336e - TokenCache: 49.55298727 minutes left until token in cache expires

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:27:42: cfc9acc7-bcd3-4d02-b341-afd30e09336e - TokenCache: A matching item (access token or refresh token or both) was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:27:42: cfc9acc7-bcd3-4d02-b341-afd30e09336e - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: W9yuVZ650RDOvLeE3EKQsOQ7R9wtXeprdm4c5BK7q3Y=
    Refresh Token Hash: jBoplmh/NqW52c1v1h8K0YIr47KcpsSrsWfFhSQXvH4=
    Expiration Time: 11/16/2018 11:17:15 +00:00
    User Hash: ZVVy+Idn5uUO80Y+caPxIEzTRPWMP9V83P8i4UTlHU8=

ОТЛАДКА: [Common.Authentication]: Received token with LoginType 'LiveId', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '11/16/2018 11:17:15 +00:00', MultipleResource? 'True', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: User info for token DisplayId: 'andrew.guz@grse.de', Name: fd86b10b-4609-4d34-9e6e-df54a5b192db 6b0da22d-7829-450a-befe-4da728d474b1, IdProvider: 'live.com', Uid: 'b8d7a86c-8af1-4d83-8468-37d4891e094d'
ОТЛАДКА: [Common.Authentication]: Checking token expiration, token expires '11/16/2018 11:17:15 +00:00' Comparing to '11/16/2018 10:27:42 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:49:33.1772376'
ОТЛАДКА: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-630b58b45fcf?api-version=2015-04
-08

Headers:
User-Agent                    : AzurePowershell/v6.9.0,PSVersion/v5.1.17134.228
ParameterSetName              : BySubscriptionLevel
CommandName                   : New-AzureRmResource

Body:

ОТЛАДКА: ============================ HTTP RESPONSE ============================

Status Code:
Accepted

Headers:
Pragma                        : no-cache
x-ms-request-id               : 9ebc6b37-916b-4ecb-ba95-630b58b45fcf
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-gatewayversion           : version=2.1.0.0
x-ms-ratelimit-remaining-subscription-reads: 11998
x-ms-correlation-request-id   : 96654213-c610-4677-b61f-7693f783dc09
x-ms-routing-request-id       : FRANCECENTRAL:20181116T102743Z:96654213-c610-4677-b61f-7693f783dc09
X-Content-Type-Options        : nosniff
Cache-Control                 : no-store, no-cache
Date                          : Fri, 16 Nov 2018 10:27:43 GMT
Location                      : https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-
630b58b45fcf?api-version=2015-04-08
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "status": "Dequeued",
  "error": {}
}

ОТЛАДКА: [Common.Authentication]: Authenticating using Account: 'andrew.guz@grse.de', environment: 'AzureCloud', tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c'
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:28:42:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:28:42:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: [Common.Authentication]: Authenticating using configuration values: Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:
2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthrity: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:
oauth:2.0:oob
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:28:42: 228c84a7-ee7c-4d9a-ac64-dabe4df274e0 - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/
    Resource: https://management.core.windows.net/
    ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
    CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (2 items)
    Authentication Target: User

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:28:42:  - TokenCache: Deserialized 2 items to token cache.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:28:42: 228c84a7-ee7c-4d9a-ac64-dabe4df274e0 - TokenCache: Looking up cache for a token...

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:28:42: 228c84a7-ee7c-4d9a-ac64-dabe4df274e0 - TokenCache: An item matching the requested resource was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:28:42: 228c84a7-ee7c-4d9a-ac64-dabe4df274e0 - TokenCache: 48.543673365 minutes left until token in cache expires

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:28:42: 228c84a7-ee7c-4d9a-ac64-dabe4df274e0 - TokenCache: A matching item (access token or refresh token or both) was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:28:42: 228c84a7-ee7c-4d9a-ac64-dabe4df274e0 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: W9yuVZ650RDOvLeE3EKQsOQ7R9wtXeprdm4c5BK7q3Y=
    Refresh Token Hash: jBoplmh/NqW52c1v1h8K0YIr47KcpsSrsWfFhSQXvH4=
    Expiration Time: 11/16/2018 11:17:15 +00:00
    User Hash: ZVVy+Idn5uUO80Y+caPxIEzTRPWMP9V83P8i4UTlHU8=

ОТЛАДКА: [Common.Authentication]: Received token with LoginType 'LiveId', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '11/16/2018 11:17:15 +00:00', MultipleResource? 'True', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: User info for token DisplayId: 'andrew.guz@grse.de', Name: fd86b10b-4609-4d34-9e6e-df54a5b192db 6b0da22d-7829-450a-befe-4da728d474b1, IdProvider: 'live.com', Uid: 'b8d7a86c-8af1-4d83-8468-37d4891e094d'
ОТЛАДКА: [Common.Authentication]: Checking token expiration, token expires '11/16/2018 11:17:15 +00:00' Comparing to '11/16/2018 10:28:42 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:48:32.6184041'
ОТЛАДКА: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-630b58b45fcf?api-version=2015-04
-08

Headers:
User-Agent                    : AzurePowershell/v6.9.0,PSVersion/v5.1.17134.228
ParameterSetName              : BySubscriptionLevel
CommandName                   : New-AzureRmResource

Body:

ОТЛАДКА: ============================ HTTP RESPONSE ============================

Status Code:
Accepted

Headers:
Pragma                        : no-cache
x-ms-request-id               : 9ebc6b37-916b-4ecb-ba95-630b58b45fcf
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-gatewayversion           : version=2.1.0.0
x-ms-ratelimit-remaining-subscription-reads: 11999
x-ms-correlation-request-id   : 1db7133a-1ea3-4695-a615-075f62dde4c9
x-ms-routing-request-id       : FRANCECENTRAL:20181116T102844Z:1db7133a-1ea3-4695-a615-075f62dde4c9
X-Content-Type-Options        : nosniff
Cache-Control                 : no-store, no-cache
Date                          : Fri, 16 Nov 2018 10:28:43 GMT
Location                      : https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-
630b58b45fcf?api-version=2015-04-08
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "status": "Dequeued",
  "error": {}
}

ОТЛАДКА: [Common.Authentication]: Authenticating using Account: 'andrew.guz@grse.de', environment: 'AzureCloud', tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c'
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:29:43:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:29:43:  - TokenCache: Serializing token cache with 2 items.

ОТЛАДКА: [Common.Authentication]: Authenticating using configuration values: Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:
2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthrity: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
ОТЛАДКА: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c7ce283c-352b-48d8-8721-09601c7f239c', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:
oauth:2.0:oob
ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:29:43: c5dd1460-886b-4413-9f78-9e919dd17687 - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.microsoftonline.com/c7ce283c-352b-48d8-8721-09601c7f239c/
    Resource: https://management.core.windows.net/
    ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
    CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (2 items)
    Authentication Target: User

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:29:43:  - TokenCache: Deserialized 2 items to token cache.

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:29:43: c5dd1460-886b-4413-9f78-9e919dd17687 - TokenCache: Looking up cache for a token...

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:29:43: c5dd1460-886b-4413-9f78-9e919dd17687 - TokenCache: An item matching the requested resource was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : 
ОТЛАДКА: 11/16/2018 10:29:43: c5dd1460-886b-4413-9f78-9e919dd17687 - TokenCache: 47.5349047183333 minutes left until token in cache expires

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:29:43: c5dd1460-886b-4413-9f78-9e919dd17687 - TokenCache: A matching item (access token or refresh token or both) was found in the cache

ОТЛАДКА: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : 
ОТЛАДКА: 11/16/2018 10:29:43: c5dd1460-886b-4413-9f78-9e919dd17687 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: W9yuVZ650RDOvLeE3EKQsOQ7R9wtXeprdm4c5BK7q3Y=
    Refresh Token Hash: jBoplmh/NqW52c1v1h8K0YIr47KcpsSrsWfFhSQXvH4=
    Expiration Time: 11/16/2018 11:17:15 +00:00
    User Hash: ZVVy+Idn5uUO80Y+caPxIEzTRPWMP9V83P8i4UTlHU8=

ОТЛАДКА: [Common.Authentication]: Received token with LoginType 'LiveId', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '11/16/2018 11:17:15 +00:00', MultipleResource? 'True', Tenant: 'c7ce283c-352b-48d8-8721-09601c7f239c', UserId: 'andrew.guz@grse.de'
ОТЛАДКА: [Common.Authentication]: User info for token DisplayId: 'andrew.guz@grse.de', Name: fd86b10b-4609-4d34-9e6e-df54a5b192db 6b0da22d-7829-450a-befe-4da728d474b1, IdProvider: 'live.com', Uid: 'b8d7a86c-8af1-4d83-8468-37d4891e094d'
ОТЛАДКА: [Common.Authentication]: Checking token expiration, token expires '11/16/2018 11:17:15 +00:00' Comparing to '11/16/2018 10:29:43 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:47:32.0932828'
ОТЛАДКА: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/8a75c2ea-e2d0-473d-a0ba-841c456133c3/resourceGroups/pynopbugreportresgrp/providers/Microsoft.DocumentDb/databaseAccounts/pynopdatabaseaccount/operationResults/9ebc6b37-916b-4ecb-ba95-630b58b45fcf?api-version=2015-04
-08

Headers:
User-Agent                    : AzurePowershell/v6.9.0,PSVersion/v5.1.17134.228
ParameterSetName              : BySubscriptionLevel
CommandName                   : New-AzureRmResource

Body:

ОТЛАДКА: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Pragma                        : no-cache
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-gatewayversion           : version=2.1.0.0
x-ms-ratelimit-remaining-subscription-reads: 11995
x-ms-request-id               : 2d25ccb8-d5af-4899-91ed-fb0ba22ba9eb
x-ms-correlation-request-id   : 2d25ccb8-d5af-4899-91ed-fb0ba22ba9eb
x-ms-routing-request-id       : FRANCECENTRAL:20181116T102944Z:2d25ccb8-d5af-4899-91ed-fb0ba22ba9eb
X-Content-Type-Options        : nosniff
Cache-Control                 : no-store, no-cache
Date                          : Fri, 16 Nov 2018 10:29:44 GMT
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "status": "Succeeded",
  "error": {}
}

ОТЛАДКА: AzureQoSEvent: CommandName - New-AzureRmResource; IsSuccess - True; Duration - 00:07:09.1865515; Exception - ;
ОТЛАДКА: Finish sending metric.
ОТЛАДКА: 13:29:45 - NewAzureResourceCmdlet end processing.
ОТЛАДКА: 13:29:45 - NewAzureResourceCmdlet end processing.
lukeb1961 commented 5 years ago

hmm.. I just created a TableAPI cosmosaccount using PS - azurerm 6.12 and it appears to work fine?

$TableDBAcc.Properties

provisioningState : Succeeded documentEndpoint : https://lukeb-tableapi.documents.azure.com:443/ tableEndpoint : https://lukeb-tableapi.table.cosmosdb.azure.com:443/ ipRangeFilter : enableAutomaticFailover : False enableMultipleWriteLocations : False isVirtualNetworkFilterEnabled : False virtualNetworkRules : {} EnabledApiTypes : Table, Sql databaseAccountOfferType : Standard consistencyPolicy : @{defaultConsistencyLevel=Eventual; maxIntervalInSeconds=5; maxStalenessPrefix=100} configurationOverrides : writeLocations : {@{id=lukeb-tableapi-australiaeast; locationName=Australia East; documentEndpoint=https://lukeb-tableapi-australiaeast.documents.azure.com:443/; provisioningState=Succeeded; failoverPriority=0}} readLocations : {@{id=lukeb-tableapi-australiaeast; locationName=Australia East; documentEndpoint=https://lukeb-tableapi-australiaeast.documents.azure.com:443/; provisioningState=Succeeded; failoverPriority=0}} failoverPolicies : {@{id=lukeb-tableapi-australiaeast; locationName=Australia East; failoverPriority=0}} capabilities : {@{name=EnableTable}}

markcowl commented 5 years ago

@Pynop The generic PowerShell celets for creating resources are just using the public api for creating resources, so this behavior seems by design. It would be nice if there were typed cmdlets for Cosmos DB.