Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.2k stars 3.8k forks source link

Remove-AzSqlDatabaseSensitivityClassification : Response status code does not indicate success: 404 (Not Found). #12304

Open viniciusvillas opened 4 years ago

viniciusvillas commented 4 years ago

Description

The calls to the cmdlet Remove-AzSqlDatabaseSensivityClassification always fails with the error message:

Remove-AzSqlDatabaseSensitivityClassification : Response status code does not indicate success: 404 (Not Found).

Steps to reproduce

Just call the cmdlet as shown in the documentation. Both modes (passing the ClassificationObject parameter or the standalone parameters - resouce group name, database name, schema, table, etc) results in the same error message.

Get-AzSqlDatabaseSensitivityRecommendation -ResourceGroupName $resourceGroup -ServerName $serverName -DatabaseName $databaseName | Remove-AzSqlDatabaseSensitivityClassification;

Environment data

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

Module versions

PS C:\Users\vinic> Get-Module  -ListAvailable

    Directory: C:\Users\vinic\Documents\WindowsPowerShell\Modules

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.4.7      PackageManagement                   {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...}

    Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.9.0      Az.Accounts                         {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave...}
Script     1.8.1      Az.Accounts                         {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave...}
Script     1.1.1      Az.Advisor                          {Get-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Disable-AzAdvisorRecommendation, Get-AzAdvisorConfiguration...}   
Script     1.1.1      Az.Aks                              {Get-AzAks, New-AzAks, Remove-AzAks, Import-AzAksCredential...}
Script     1.1.3      Az.AnalysisServices                 {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysisServicesSe...
Script     2.0.1      Az.ApiManagement                    {Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion, Add-AzApiManagementUserToGrou...
Script     1.1.0      Az.ApplicationInsights              {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Update-AzApplicationInsights...}
Script     1.3.6      Az.Automation                       {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-AzAutomatio...
Script     3.0.0      Az.Batch                            {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount...}
Script     1.0.3      Az.Billing                          {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget...}
Script     1.4.3      Az.Cdn                              {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile...}
Script     1.4.0      Az.CognitiveServices                {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveService...
Script     4.1.0      Az.Compute                          {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet...}
Script     1.0.3      Az.ContainerInstance                {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceLog}
Script     1.1.1      Az.ContainerRegistry                {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry...}
Script     1.1.0      Az.DataBoxEdge                      {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzDataBoxEdgeDevice, New-AzDataBoxEdgeDevice...}
Script     1.8.1      Az.DataFactory                      {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2...}
Script     1.0.2      Az.DataLakeAnalytics                {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLakeAnalyticsCatalogCredential, Se...
Script     1.2.8      Az.DataLakeStore                    {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDat...
Script     1.0.0      Az.DataShare                        {New-AzDataShareAccount, Get-AzDataShareAccount, Remove-AzDataShareAccount, New-AzDataShare...}
Script     1.1.0      Az.DeploymentManager                {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymentManagerArtifactSource, Remove-...
Script     1.0.0      Az.DesktopVirtualization            {Disconnect-AzWvdUserSession, Get-AzWvdApplication, Get-AzWvdApplicationGroup, Get-AzWvdDesktop...}
Script     1.0.2      Az.DevTestLabs                      {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzDtlVMsPerLabPolicy...}
Script     1.1.2      Az.Dns                              {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet...}
Script     1.2.3      Az.EventGrid                        {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey...}
Script     1.4.3      Az.EventHub                         {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace...}
Script     1.5.0      Az.FrontDoor                        {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor...}
Script     1.0.0      Az.Functions                        {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionAppSetting...}
Script     3.2.0      Az.HDInsight                        {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition...} 
Script     1.0.2      Az.HealthcareApis                   {New-AzHealthcareApisService, Remove-AzHealthcareApisService, Set-AzHealthcareApisService, Get-AzHealthcareApisService}
Script     2.5.0      Az.IotHub                           {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob...}
Script     2.0.0      Az.KeyVault                         {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOpera...
Script     1.3.2      Az.LogicApp                         {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, Get-AzInteg...
Script     1.1.3      Az.MachineLearning                  {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHistory, Remove-AzMlCommitmentPlan...
Script     1.0.0      Az.Maintenance                      {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaintenanceUpdate...}
Script     1.0.2      Az.ManagedServices                  {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAssignment, Get-AzManagedServicesD...
Script     1.0.2      Az.MarketplaceOrdering              {Get-AzMarketplaceTerms, Set-AzMarketplaceTerms}
Script     1.1.1      Az.Media                            {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServiceNameAvailability...}
Script     2.0.0      Az.Monitor                          {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile...}
Script     3.0.0      Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatew...
Script     1.1.1      Az.NotificationHubs                 {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHubPNSCredent...
Script     2.1.0      Az.OperationalInsights              {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOperationalInsi...
Script     1.3.1      Az.PolicyInsights                   {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation...}
Script     1.1.2      Az.PowerBIEmbedded                  {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollectionAccessKey, Get-AzPowe...
Script     1.0.3      Az.PrivateDns                       {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone, New-AzPrivateDnsZone...}
Script     2.9.1      Az.RecoveryServices                 {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoverySe...
Script     1.2.1      Az.RedisCache                       {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedul...
Script     1.0.3      Az.Relay                            {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace...}
Script     2.1.0      Az.Resources                        {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment...}
Script     1.4.1      Az.ServiceBus                       {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace...}
Script     2.1.0      Az.ServiceFabric                    {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFabricNode, Add-AzServiceFabricNod...
Script     1.1.1      Az.SignalR                          {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey...}
Script     2.8.0      Az.Sql                              {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparent... 
Script     2.7.0      Az.Sql                              {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparent...
Script     1.1.0      Az.SqlVirtualMachine                {New-AzSqlVM, Get-AzSqlVM, Update-AzSqlVM, Remove-AzSqlVM...}
Script     2.1.0      Az.Storage                          {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey...}
Script     1.2.3      Az.StorageSync                      {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, Remove-AzStorageSyncService...}    
Script     1.0.1      Az.StreamAnalytics                  {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAnalyticsFunction, Remove-AzStrea...
Script     1.0.0      Az.Support                          {Get-AzSupportService, Get-AzSupportProblemClassification, Get-AzSupportTicket, Get-AzSupportTicketCommunication...}
Script     1.0.4      Az.TrafficManager                   {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeade...
Script     1.9.0      Az.Websites                         {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan...}
Manifest   2.0.2      AzTable                             {Add-AzTableRow, Get-AzTableRow, Get-AzTableRowAll, Get-AzTableRowByPartitionKeyRowKey...}
Script     5.1.2      Azure                               {Get-AzureAutomationCertificate, Get-AzureAutomationConnection, New-AzureAutomationConnection, Remove-AzureAutomationConnecti...
Manifest   0.5.0      Azure.AnalysisServices              {Add-AzureAnalysisServicesAccount, Restart-AzureAnalysisServicesInstance, Export-AzureAnalysisServicesInstanceLog, Sync-Azure...
Script     4.2.1      Azure.Storage                       {Get-AzureStorageTable, New-AzureStorageTableSASToken, New-AzureStorageTableStoredAccessPolicy, New-AzureStorageTable...}       
Script     5.7.0      AzureRM
Script     0.6.6      AzureRM.AnalysisServices            {Resume-AzureRmAnalysisServicesServer, Suspend-AzureRmAnalysisServicesServer, Get-AzureRmAnalysisServicesServer, Remove-Azure...
Script     5.1.2      AzureRM.ApiManagement               {Add-AzureRmApiManagementRegion, Get-AzureRmApiManagementSsoToken, New-AzureRmApiManagementHostnameConfiguration, New-AzureRm...
Script     0.1.3      AzureRM.ApplicationInsights         {Get-AzureRmApplicationInsights, New-AzureRmApplicationInsights, Remove-AzureRmApplicationInsights, Set-AzureRmApplicationIns...
Script     4.3.2      AzureRM.Automation                  {Get-AzureRMAutomationHybridWorkerGroup, Get-AzureRmAutomationJobOutputRecord, Import-AzureRmAutomationDscNodeConfiguration, ...
Script     4.0.4      AzureRM.Backup                      {Backup-AzureRmBackupItem, Enable-AzureRmBackupContainerReregistration, Get-AzureRmBackupContainer, Register-AzureRmBackupCon...
Script     4.0.6      AzureRM.Batch                       {Remove-AzureRmBatchAccount, Get-AzureRmBatchAccount, Get-AzureRmBatchAccountKeys, New-AzureRmBatchAccount...}
Script     0.14.1     AzureRM.Billing                     {Get-AzureRmBillingInvoice, Get-AzureRmBillingPeriod, Get-AzureRmEnrollmentAccount}
Script     4.2.2      AzureRM.Cdn                         {Get-AzureRmCdnProfile, Get-AzureRmCdnProfileSsoUrl, New-AzureRmCdnProfile, Remove-AzureRmCdnProfile...}
Script     0.9.4      AzureRM.CognitiveServices           {Get-AzureRmCognitiveServicesAccount, Get-AzureRmCognitiveServicesAccountKey, Get-AzureRmCognitiveServicesAccountSkus, Get-Az...
Script     4.6.0      AzureRM.Compute                     {Remove-AzureRmAvailabilitySet, Get-AzureRmAvailabilitySet, New-AzureRmAvailabilitySet, Update-AzureRmAvailabilitySet...}       
Script     0.3.1      AzureRM.Consumption                 Get-AzureRmConsumptionUsageDetail
Script     0.2.5      AzureRM.ContainerInstance           {New-AzureRmContainerGroup, Get-AzureRmContainerGroup, Remove-AzureRmContainerGroup, Get-AzureRmContainerInstanceLog}
Script     1.0.4      AzureRM.ContainerRegistry           {New-AzureRmContainerRegistry, Get-AzureRmContainerRegistry, Update-AzureRmContainerRegistry, Remove-AzureRmContainerRegistry...
Script     4.2.2      AzureRM.DataFactories               {Remove-AzureRmDataFactory, Get-AzureRmDataFactoryRun, Get-AzureRmDataFactorySlice, Save-AzureRmDataFactoryLog...}
Script     0.5.3      AzureRM.DataFactoryV2               {Set-AzureRmDataFactoryV2, Update-AzureRmDataFactoryV2, Get-AzureRmDataFactoryV2, Remove-AzureRmDataFactoryV2...}
Script     4.2.3      AzureRM.DataLakeAnalytics           {Get-AzureRmDataLakeAnalyticsDataSource, New-AzureRmDataLakeAnalyticsCatalogCredential, Remove-AzureRmDataLakeAnalyticsCatalo...
Script     5.2.0      AzureRM.DataLakeStore               {Get-AzureRmDataLakeStoreTrustedIdProvider, Remove-AzureRmDataLakeStoreTrustedIdProvider, Remove-AzureRmDataLakeStoreFirewall...
Script     4.0.4      AzureRM.DevTestLabs                 {Get-AzureRmDtlAllowedVMSizesPolicy, Get-AzureRmDtlAutoShutdownPolicy, Get-AzureRmDtlAutoStartPolicy, Get-AzureRmDtlVMsPerLab...
Script     4.1.2      AzureRM.Dns                         {Get-AzureRmDnsRecordSet, New-AzureRmDnsRecordConfig, Remove-AzureRmDnsRecordSet, Set-AzureRmDnsRecordSet...}
Script     0.3.2      AzureRM.EventGrid                   {New-AzureRmEventGridTopic, Get-AzureRmEventGridTopic, Set-AzureRmEventGridTopic, New-AzureRmEventGridTopicKey...}
Script     0.6.3      AzureRM.EventHub                    {New-AzureRmEventHubNamespace, Get-AzureRmEventHubNamespace, Set-AzureRmEventHubNamespace, Remove-AzureRmEventHubNamespace...}  
Script     4.1.2      AzureRM.HDInsight                   {Get-AzureRmHDInsightJob, New-AzureRmHDInsightSqoopJobDefinition, Wait-AzureRmHDInsightJob, New-AzureRmHDInsightStreamingMapR...
Script     4.0.4      AzureRM.Insights                    {Get-AzureRmMetricDefinition, Get-AzureRmMetric, Remove-AzureRmLogProfile, Get-AzureRmLogProfile...}
Script     3.1.2      AzureRM.IotHub                      {Add-AzureRmIotHubKey, Get-AzureRmIotHubEventHubConsumerGroup, Get-AzureRmIotHubConnectionString, Get-AzureRmIotHubJob...}      
Script     4.3.0      AzureRM.KeyVault                    {Add-AzureKeyVaultCertificate, Set-AzureKeyVaultCertificateAttribute, Stop-AzureKeyVaultCertificateOperation, Get-AzureKeyVau...
Script     4.0.3      AzureRM.LogicApp                    {Get-AzureRmIntegrationAccountAgreement, Get-AzureRmIntegrationAccountCallbackUrl, Get-AzureRmIntegrationAccountCertificate, ...
Script     0.17.2     AzureRM.MachineLearning             {Move-AzureRmMlCommitmentAssociation, Get-AzureRmMlCommitmentAssociation, Get-AzureRmMlCommitmentPlanUsageHistory, Remove-Azu...
Script     0.4.2      AzureRM.MachineLearningCompute      {Get-AzureRmMlOpCluster, Get-AzureRmMlOpClusterKey, Test-AzureRmMlOpClusterSystemServicesUpdateAvailability, Update-AzureRmMl...
Script     0.2.1      AzureRM.MarketplaceOrdering         {Get-AzureRmMarketplaceTerms, Set-AzureRmMarketplaceTerms}
Script     0.9.2      AzureRM.Media                       {Sync-AzureRmMediaServiceStorageKeys, Set-AzureRmMediaServiceKey, Get-AzureRmMediaServiceKeys, Get-AzureRmMediaServiceNameAva...
Script     5.4.2      AzureRM.Network                     {Add-AzureRmApplicationGatewayAuthenticationCertificate, Get-AzureRmApplicationGatewayAuthenticationCertificate, New-AzureRmA...
Script     4.1.1      AzureRM.NotificationHubs            {Get-AzureRmNotificationHub, Get-AzureRmNotificationHubAuthorizationRules, Get-AzureRmNotificationHubListKeys, Get-AzureRmNot...
Script     4.3.2      AzureRM.OperationalInsights         {New-AzureRmOperationalInsightsAzureActivityLogDataSource, New-AzureRmOperationalInsightsCustomLogDataSource, Disable-AzureRm...
Script     4.1.4      AzureRM.PowerBIEmbedded             {Remove-AzureRmPowerBIWorkspaceCollection, Get-AzureRmPowerBIWorkspaceCollection, Get-AzureRmPowerBIWorkspaceCollectionAccess...
Script     4.6.0      AzureRM.Profile                     {Disable-AzureRmDataCollection, Disable-AzureRmContextAutosave, Enable-AzureRmDataCollection, Enable-AzureRmContextAutosave...} 
Script     4.1.2      AzureRM.RecoveryServices            {Get-AzureRmRecoveryServicesBackupProperty, Get-AzureRmRecoveryServicesVault, Get-AzureRmRecoveryServicesVaultSettingsFile, N...
Script     4.1.2      AzureRM.RecoveryServices.Backup     {Backup-AzureRmRecoveryServicesBackupItem, Get-AzureRmRecoveryServicesBackupManagementServer, Get-AzureRmRecoveryServicesBack...
Script     0.2.4      AzureRM.RecoveryServices.SiteRec... {Edit-AzureRmRecoveryServicesAsrRecoveryPlan, Get-AzureRmRecoveryServicesAsrAlertSetting, Get-AzureRmRecoveryServicesAsrEvent...
Script     4.1.2      AzureRM.RedisCache                  {Remove-AzureRmRedisCachePatchSchedule, New-AzureRmRedisCacheScheduleEntry, Get-AzureRmRedisCachePatchSchedule, New-AzureRmRe...
Script     0.3.3      AzureRM.Relay                       {New-AzureRmRelayNamespace, Get-AzureRmRelayNamespace, Set-AzureRmRelayNamespace, Remove-AzureRmRelayNamespace...}
Script     5.5.2      AzureRM.Resources                   {Get-AzureRmProviderOperation, Remove-AzureRmRoleAssignment, Get-AzureRmRoleAssignment, New-AzureRmRoleAssignment...}
Script     0.16.3     AzureRM.Scheduler                   {Disable-AzureRmSchedulerJobCollection, Enable-AzureRmSchedulerJobCollection, Get-AzureRmSchedulerJobCollection, Get-AzureRmS...
Script     4.1.2      AzureRM.ServerManagement            {Invoke-AzureRmServerManagementPowerShellCommand, Get-AzureRmServerManagementSession, New-AzureRmServerManagementSession, Rem...
Script     0.6.4      AzureRM.ServiceBus                  {New-AzureRmServiceBusNamespace, Get-AzureRmServiceBusNamespace, Set-AzureRmServiceBusNamespace, Remove-AzureRmServiceBusName...
Script     0.3.4      AzureRM.ServiceFabric               {Add-AzureRmServiceFabricApplicationCertificate, Add-AzureRmServiceFabricClientCertificate, Add-AzureRmServiceFabricClusterCe...
Script     5.0.6      AzureRM.SiteRecovery                {Get-AzureRmSiteRecoveryFabric, New-AzureRmSiteRecoveryFabric, Remove-AzureRmSiteRecoveryFabric, Stop-AzureRmSiteRecoveryJob...}
Script     4.4.0      AzureRM.Sql                         {Get-AzureRmSqlDatabaseTransparentDataEncryption, Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity, Set-AzureRmSqlData...
Script     4.2.3      AzureRM.Storage                     {Get-AzureRmStorageAccount, Get-AzureRmStorageAccountKey, New-AzureRmStorageAccount, New-AzureRmStorageAccountKey...}
Script     4.0.4      AzureRM.StreamAnalytics             {Get-AzureRmStreamAnalyticsFunction, Get-AzureRmStreamAnalyticsDefaultFunctionDefinition, New-AzureRmStreamAnalyticsFunction,... 
Script     4.0.1      AzureRM.Tags                        {Remove-AzureRmTag, Get-AzureRmTag, New-AzureRmTag}
Script     4.0.3      AzureRM.TrafficManager              {Disable-AzureRmTrafficManagerEndpoint, Enable-AzureRmTrafficManagerEndpoint, Set-AzureRmTrafficManagerEndpoint, Get-AzureRmT...
Script     4.0.2      AzureRM.UsageAggregates             Get-UsageAggregates
Script     4.2.2      AzureRM.Websites                    {Get-AzureRmAppServicePlan, Set-AzureRmAppServicePlan, New-AzureRmAppServicePlan, Remove-AzureRmAppServicePlan...}
Script     1.1.0      JWT                                 {New-Jwt, Test-Jwt, Get-JwtPayload}
Binary     1.0.11     LogicAppTemplate                    {Get-EmptyParameterTemplate, Get-CustomConnectorTemplate, Get-IntegrationAccountSchemaTemplate, Get-IntegrationAccountMapTemp...
Script     1.0.1      Microsoft.PowerShell.Operation.V... {Get-OperationValidation, Invoke-OperationValidation}
Manifest   1.1.183.17 MSOnline                            {Get-MsolDevice, Remove-MsolDevice, Enable-MsolDevice, Disable-MsolDevice...}
Script     3000.15.18 OnPremisesDataGatewayHAMgmt         {Get-OnPremisesDataGatewayClusters, Get-OnPremisesDataClusterGateways, Get-OnPremisesDataGatewayRegions, Get-OnPremisesDataGa...
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     2.0.1      PSReadline                          {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption...}
Script     2.0.0      PSReadline                          {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption...}
Script     21.0.17240 SqlServer                           {Add-RoleMember, Add-SqlAvailabilityDatabase, Add-SqlAvailabilityGroupListenerStaticIp, Add-SqlAzureAuthenticationContext...}   
Binary     2.0.3      ThreadJob                           Start-ThreadJob

    Directory: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Manifest   1.0.0.0    AppBackgroundTask                   {Disable-AppBackgroundTaskDiagnosticLog, Enable-AppBackgroundTaskDiagnosticLog, Set-AppBackgroundTaskResourcePolicy, Unregist... 
Manifest   2.0.0.0    AppLocker                           {Get-AppLockerFileInformation, Get-AppLockerPolicy, New-AppLockerPolicy, Set-AppLockerPolicy...}
Manifest   1.0.0.0    AppvClient                          {Add-AppvClientConnectionGroup, Add-AppvClientPackage, Add-AppvPublishingServer, Disable-Appv...}
Manifest   2.0.1.0    Appx                                {Add-AppxPackage, Get-AppxPackage, Get-AppxPackageManifest, Remove-AppxPackage...}
Script     1.0.0.0    AssignedAccess                      {Clear-AssignedAccess, Get-AssignedAccess, Set-AssignedAccess}
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    BranchCache                         {Add-BCDataCacheExtension, Clear-BCCache, Disable-BC, Disable-BCDowngrading...}
Manifest   1.0.0.0    CimCmdlets                          {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstance, Get-CimSession...}
Manifest   1.0        ConfigCI                            {Get-SystemDriver, New-CIPolicyRule, New-CIPolicy, Get-CIPolicy...}
Manifest   1.0        ConfigDefender                      {Get-MpPreference, Set-MpPreference, Add-MpPreference, Remove-MpPreference...}
Manifest   1.0        Defender                            {Get-MpPreference, Set-MpPreference, Add-MpPreference, Remove-MpPreference...}
Manifest   1.0.2.0    DeliveryOptimization                {Delete-DeliveryOptimizationCache, Set-DeliveryOptimizationStatus, Get-DeliveryOptimizationLog, Get-DeliveryOptimizationLogAn...
Manifest   1.0.0.0    DirectAccessClientComponents        {Disable-DAManualEntryPointSelection, Enable-DAManualEntryPointSelection, Get-DAClientExperienceConfiguration, Get-DAEntryPoi...
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...}
Manifest   1.0.0.0    HgsClient                           {Get-HgsAttestationBaselinePolicy, Get-HgsClientConfiguration, Test-HgsClientConfiguration, Set-HgsClientConfiguration...}      
Manifest   1.0.0.0    HgsDiagnostics                      {New-HgsTraceTarget, Get-HgsTrace, Get-HgsTraceFileData, Test-HgsTraceTarget}
Manifest   1.0.0.1    HostNetworkingService               {Remove-HnsNamespace, Remove-HnsEndpoint, Get-HnsEndpoint, Remove-HnsPolicyList...}
Binary     2.0.0.0    Hyper-V                             {Add-VMAssignableDevice, Add-VMDvdDrive, Add-VMFibreChannelHba, Add-VMGpuPartitionAdapter...}
Binary     1.1        Hyper-V                             {Add-VMDvdDrive, Add-VMFibreChannelHba, Add-VMHardDiskDrive, Add-VMMigrationNetwork...}
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-DtcDiagnosticTra...
Manifest   2.0.0.0    NetAdapter                          {Disable-NetAdapter, Disable-NetAdapterBinding, Disable-NetAdapterChecksumOffload, Disable-NetAdapterEncapsulatedPacketTaskOf...
Manifest   1.0.0.0    NetConnection                       {Get-NetConnectionProfile, Set-NetConnectionProfile}
Manifest   1.0.0.0    NetDiagnostics                      Get-NetView
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-NetworkSwitchEthe...
Manifest   1.0.0.0    NetworkTransition                   {Add-NetIPHttpsCertBinding, Disable-NetDnsTransitionConfiguration, Disable-NetIPHttpsProfile, Disable-NetNatTransitionConfigu...
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   1.0.0.0    StorageBusCache                     {Clear-StorageBusDisk, Disable-StorageBusCache, Disable-StorageBusDisk, Enable-StorageBusCache...}
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...}
Binary     2.1.639.0  UEV                                 {Clear-UevConfiguration, Clear-UevAppxPackage, Restore-UevBackup, Set-UevTemplateProfile...}
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   2.0.0.0    Whea                                {Get-WheaMemoryPolicy, Set-WheaMemoryPolicy}
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...}

    Directory: C:\Users\vinic\.vscode\extensions\ms-vscode.powershell-2020.6.0\modules

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.1.3      Plaster                             {Invoke-Plaster, New-PlasterManifest, Get-PlasterTemplate, Test-PlasterManifest}
Binary     2.1.0      PowerShellEditorServices            Start-EditorServices
Binary     0.2.0      PowerShellEditorServices.VSCode     {New-VSCodeHtmlContentView, Show-VSCodeHtmlContentView, Close-VSCodeHtmlContentView, Set-VSCodeHtmlContentView...}
Script     2.0.2      PSReadLine                          {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption...}
Script     1.19.0     PSScriptAnalyzer                    {Get-ScriptAnalyzerRule, Invoke-ScriptAnalyzer, Invoke-Formatter}

Debug output

DEBUG: 10:48:25 - GetAzSqlDatabaseSensitivityRecommendation begin processing with ParameterSet 'DatabaseParameterSet'.
DEBUG: 10:48:25 - using account id '***@***.com.br'...
DEBUG: 10:48:25 - RemoveAzSqlDatabaseSensitivityClassification begin processing with ParameterSet 'ClassificationObjectParameterSet'.
DEBUG: 10:48:25 - using account id '***@***.com.br'...
DEBUG: [Common.Authentication]: Authenticating using Account: '***@***.com.br', environment: 'AzureCloud', tenant: '727d1266-ccaa-4c9f-91b5-e392a5fb335d'
DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', 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/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/727d1266-ccaa-4c9f-91b5-e392a5fb335d/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob
DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: === Token Acquisition started:
        CacheType: null
        Authentication Target: User
        , Authority Host: login.microsoftonline.com

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: === Token Acquisition started:
        Authority: https://login.microsoftonline.com/727d1266-ccaa-4c9f-91b5-e392a5fb335d/
        Resource: https://management.core.windows.net/
        ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
        CacheType: null
        Authentication Target: User

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 4 items to token cache.

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: 27.6221704583333 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: 27.6221704583333 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: 
Expiration Time: 01-Jul-20 14:16:02 +00:00

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: 
Expiration Time: 01-Jul-20 14:16:02 +00:00Access Token Hash: I59aTqDjwUFi1cX6J53/r+s5faKou6BroVWagssC0CA=
         User id: 0eb54174-d503-4f93-8fbf-624f77751adc

DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '07/01/2020 14:16:02 +00:00', MultipleResource? 'True', Tenant: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', UserId: '***@***.com.br'
DEBUG: [Common.Authentication]: User info for token DisplayId: '***@***.com.br', Name:***, IdProvider: 'https://sts.windows.net/727d1266-ccaa-4c9f-91b5-e392a5fb335d/', Uid: '0eb54174-d503-4f93-8fbf-624f77751adc'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '07/01/2020 14:16:02 +00:00' Comparing to '07/01/2020 13:48:25 +00:00' With threshold '00:05:00', calculated time 
until token expiry: '00:27:37.3292285'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/recommendedSensitivityLabels?api-version=2017-03-01-preview

Headers:
x-ms-client-request-id        : 7f2df293-7035-46cc-9068-8db304640081
accept-language               : en-US

Body:

DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Pragma                        : no-cache
x-ms-request-id               : 27daec92-36ce-4245-a478-031e15e3b25e
x-ms-ratelimit-remaining-subscription-reads: 11999
x-ms-correlation-request-id   : dacc4495-2bd8-4747-86b1-9833831c97b2
x-ms-routing-request-id       : CENTRALUS:20200701T134838Z:dacc4495-2bd8-4747-86b1-9833831c97b2
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Cache-Control                 : no-cache
Date                          : Wed, 01 Jul 2020 13:48:38 GMT
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "value": [
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credit Card",
        "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/WorkflowProgress/columns/SLAExpirationDate/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credit Card",
        "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/Request/columns/SLAExpirationDate/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credentials",
        "informationTypeId": "c64aba7b-3a3e-95b6-535d-3bc535da5a59",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/User/columns/UserName/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Contact Info",
        "informationTypeId": "5c503e21-22c6-81fa-620b-f369b8ec38d1",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/User/columns/Email/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credentials",
        "informationTypeId": "c64aba7b-3a3e-95b6-535d-3bc535da5a59",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/User/columns/LastPasswordChangedDate/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credentials",
        "informationTypeId": "c64aba7b-3a3e-95b6-535d-3bc535da5a59",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/User/columns/FailedPasswordAttemptCount/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credentials",
        "informationTypeId": "c64aba7b-3a3e-95b6-535d-3bc535da5a59",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/User/columns/FailedPasswordAttemptWindowStart/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    }
  ]
}

DEBUG: [Common.Authentication]: Authenticating using Account: '***@***.com.br', environment: 'AzureCloud', tenant: '727d1266-ccaa-4c9f-91b5-e392a5fb335d'
DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', 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/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/727d1266-ccaa-4c9f-91b5-e392a5fb335d/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob
DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: === Token Acquisition started:
        CacheType: null
        Authentication Target: User
        , Authority Host: login.microsoftonline.com

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: === Token Acquisition started:
        Authority: https://login.microsoftonline.com/727d1266-ccaa-4c9f-91b5-e392a5fb335d/
        Resource: https://management.core.windows.net/
        ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
        CacheType: null
        Authentication Target: User

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:25.0777832Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 4 items to token cache.

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: 27.6221704583333 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: 27.6221704583333 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: 
Expiration Time: 01-Jul-20 14:16:02 +00:00

DEBUG: [ADAL]: Information: 2020-07-01T13:48:25.0797725Z: 881df97f-99eb-456f-9f1b-0a494944b5f0 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: 
Expiration Time: 01-Jul-20 14:16:02 +00:00Access Token Hash: I59aTqDjwUFi1cX6J53/r+s5faKou6BroVWagssC0CA=
         User id: 0eb54174-d503-4f93-8fbf-624f77751adc

DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '07/01/2020 14:16:02 +00:00', MultipleResource? 'True', Tenant: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', UserId: '***@***.com.br'
DEBUG: [Common.Authentication]: User info for token DisplayId: '***@***.com.br', Name: ***, IdProvider: 'https://sts.windows.net/727d1266-ccaa-4c9f-91b5-e392a5fb335d/', Uid: '0eb54174-d503-4f93-8fbf-624f77751adc'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '07/01/2020 14:16:02 +00:00' Comparing to '07/01/2020 13:48:25 +00:00' With threshold '00:05:00', calculated time 
until token expiry: '00:27:37.3292285'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/recommendedSensitivityLabels?api-version=2017-03-01-preview

Headers:
x-ms-client-request-id        : 7f2df293-7035-46cc-9068-8db304640081
accept-language               : en-US

Body:

DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Pragma                        : no-cache
x-ms-request-id               : 27daec92-36ce-4245-a478-031e15e3b25e
x-ms-ratelimit-remaining-subscription-reads: 11999
x-ms-correlation-request-id   : dacc4495-2bd8-4747-86b1-9833831c97b2
x-ms-routing-request-id       : CENTRALUS:20200701T134838Z:dacc4495-2bd8-4747-86b1-9833831c97b2
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Cache-Control                 : no-cache
Date                          : Wed, 01 Jul 2020 13:48:38 GMT
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "value": [
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credit Card",
        "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/WorkflowProgress/columns/SLAExpirationDate/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credit Card",
        "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/Request/columns/SLAExpirationDate/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credentials",
        "informationTypeId": "c64aba7b-3a3e-95b6-535d-3bc535da5a59",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/User/columns/UserName/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Contact Info",
        "informationTypeId": "5c503e21-22c6-81fa-620b-f369b8ec38d1",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/User/columns/Email/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credentials",
        "informationTypeId": "c64aba7b-3a3e-95b6-535d-3bc535da5a59",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/User/columns/LastPasswordChangedDate/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credentials",
        "informationTypeId": "c64aba7b-3a3e-95b6-535d-3bc535da5a59",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/User/columns/FailedPasswordAttemptCount/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    },
    {
      "properties": {
        "labelName": "Confidential",
        "labelId": "1e78f39b-425c-48f7-9fcd-8bcb40da04b0",
        "informationType": "Credentials",
        "informationTypeId": "c64aba7b-3a3e-95b6-535d-3bc535da5a59",
        "isDisabled": false,
        "rank": "Medium"
      },
      "id": "/subscriptions/9bbeb562-41c6-406b-afbe-e3df3a8e88ad/resourceGroups/CAPSaaSResourceGroup-BRSouth/providers/Microsoft.Sql/servers/capworkflow/databases/CAP_SPS_Yaskawa_Report/schemas/rpt/tables/User/columns/FailedPasswordAttemptWindowStart/sensitivityLabels/recommended",
      "name": "recommended",
      "type": "Microsoft.Sql/servers/databases/sensitivityLabels"
    }
  ]
}

DEBUG: [Common.Authentication]: Authenticating using Account: '***@***', environment: 'AzureCloud', tenant: '727d1266-ccaa-4c9f-91b5-e392a5fb335d'
DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', 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/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/727d1266-ccaa-4c9f-91b5-e392a5fb335d/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob
DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7683231Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7683231Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7683231Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: === Token Acquisition started:
        CacheType: null
        Authentication Target: User
        , Authority Host: login.microsoftonline.com

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7683231Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: === Token Acquisition started:
        Authority: https://login.microsoftonline.com/727d1266-ccaa-4c9f-91b5-e392a5fb335d/
        Resource: https://management.core.windows.net/
        ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
        CacheType: null
        Authentication Target: User

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:27.7693236Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:27.7693236Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 4 items to token cache.

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: 27.5773278583333 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: 27.5773278583333 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: 
Expiration Time: 01-Jul-20 14:16:02 +00:00

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: 
Expiration Time: 01-Jul-20 14:16:02 +00:00Access Token Hash: I59aTqDjwUFi1cX6J53/r+s5faKou6BroVWagssC0CA=
         User id: 0eb54174-d503-4f93-8fbf-624f77751adc

DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '07/01/2020 14:16:02 +00:00', MultipleResource? 'True', Tenant: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', UserId: '***@***.com.br'
DEBUG: [Common.Authentication]: User info for token DisplayId: '***@***.com.br', Name: ***, IdProvider: 'https://sts.windows.net/727d1266-ccaa-4c9f-91b5-e392a5fb335d/', Uid: '0eb54174-d503-4f93-8fbf-624f77751adc'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '07/01/2020 14:16:02 +00:00' Comparing to '07/01/2020 13:48:27 +00:00' With threshold '00:05:00', calculated time 
until token expiry: '00:27:34.6376754'
Remove-AzSqlDatabaseSensitivityClassification : Response status code does not indicate success: 404 (Not Found).
At line:1 char:143
+ ... P_SPS_Yaskawa_Report" | Remove-AzSqlDatabaseSensitivityClassification
+                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Remove-AzSqlDat...yClassification], HttpRequestException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Sql.DataClassification.Cmdlet.RemoveAzSqlDatabaseSensitivityClassification

DEBUG: [Common.Authentication]: Authenticating using Account: '***@***.com.br', environment: 'AzureCloud', tenant: '727d1266-ccaa-4c9f-91b5-e392a5fb335d'
DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', 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/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/727d1266-ccaa-4c9f-91b5-e392a5fb335d/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob
DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7683231Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7683231Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7683231Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: === Token Acquisition started: 
        CacheType: null
        Authentication Target: User
        , Authority Host: login.microsoftonline.com

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7683231Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: === Token Acquisition started:
        Authority: https://login.microsoftonline.com/727d1266-ccaa-4c9f-91b5-e392a5fb335d/
        Resource: https://management.core.windows.net/
        ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
        CacheType: null
        Authentication Target: User

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:27.7693236Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:27.7693236Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 4 items to token cache.

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Verbose: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: 27.5773278583333 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: 27.5773278583333 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: 
Expiration Time: 01-Jul-20 14:16:02 +00:00

DEBUG: [ADAL]: Information: 2020-07-01T13:48:27.7703285Z: 8a3f2f60-43d4-4993-a990-c01a96cb7f5c - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: 
Expiration Time: 01-Jul-20 14:16:02 +00:00Access Token Hash: I59aTqDjwUFi1cX6J53/r+s5faKou6BroVWagssC0CA=
         User id: 0eb54174-d503-4f93-8fbf-624f77751adc

DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '07/01/2020 14:16:02 +00:00', MultipleResource? 'True', Tenant: '727d1266-ccaa-4c9f-91b5-e392a5fb335d', UserId: '***@***.com.br'
DEBUG: [Common.Authentication]: User info for token DisplayId: '***@***.com.br', Name: ***, IdProvider: 'https://sts.windows.net/727d1266-ccaa-4c9f-91b5-e392a5fb335d/', Uid: '0eb54174-d503-4f93-8fbf-624f77751adc'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '07/01/2020 14:16:02 +00:00' Comparing to '07/01/2020 13:48:27 +00:00' With threshold '00:05:00', calculated time 
until token expiry: '00:27:34.6376754'
DEBUG: AzureQoSEvent: CommandName - Get-AzSqlDatabaseSensitivityRecommendation; IsSuccess - True; Duration - 00:00:03.8054929;
DEBUG: Finish sending metric.
DEBUG: 10:48:30 - GetAzSqlDatabaseSensitivityRecommendation end processing.
DEBUG: AzureQoSEvent: CommandName - Remove-AzSqlDatabaseSensitivityClassification; IsSuccess - False; Duration - 00:00:05.0729099;; Exception - System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at Microsoft.Azure.Commands.Sql.DataClassification.Services.DataClassificationAdapter.SplitSensitivityLabelsIntoListsAndPatch(List`1 sensitivityLabelsToModify, Action`1 patchSensitivityLabels)
   at Microsoft.Azure.Commands.Sql.DataClassification.Cmdlet.RemoveAzSqlDatabaseSensitivityClassification.PersistChanges(SqlDatabaseSensitivityClassificationModel entity)
   at Microsoft.Azure.Commands.Sql.Common.AzureSqlCmdletBase`2.<>c__DisplayClass16_0.<ExecuteCmdlet>b__0()
   at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ConfirmAction(String processMessage, String target, Action action)
   at Microsoft.Azure.Commands.Sql.Common.AzureSqlCmdletBase`2.ExecuteCmdlet()
   at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord();
DEBUG: Finish sending metric.
DEBUG: 10:48:31 - RemoveAzSqlDatabaseSensitivityClassification end processing.

Error output

Message        : Response status code does not indicate success: 404 (Not Found).
StackTrace     :    at Microsoft.Azure.Commands.Sql.DataClassification.Services.DataClassificationAdapter.SplitSensitivityLabelsIntoListsAndPatch(List`1 sensitivityLabelsToModify,        
                 Action`1 patchSensitivityLabels)
                    at Microsoft.Azure.Commands.Sql.DataClassification.Cmdlet.RemoveAzSqlDatabaseSensitivityClassification.PersistChanges(SqlDatabaseSensitivityClassificationModel        
                 entity)
                    at Microsoft.Azure.Commands.Sql.Common.AzureSqlCmdletBase`2.<>c__DisplayClass16_0.<ExecuteCmdlet>b__0()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ConfirmAction(String processMessage, String target, Action action)
                    at Microsoft.Azure.Commands.Sql.Common.AzureSqlCmdletBase`2.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception      : System.Net.Http.HttpRequestException
InvocationInfo : {Remove-AzSqlDatabaseSensitivityClassification}
Line           : Remove-AzSqlDatabaseSensitivityClassification -ClassificationObject $recommendations
Position       : At line:1 char:1
                 + Remove-AzSqlDatabaseSensitivityClassification -ClassificationObject $ ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 3
ghost commented 4 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub.

dingmeng-xue commented 4 years ago

Thanks for reporting. SQL team, please help to look into this issue.

viniciusvillas commented 4 years ago

JSYK, I was able to replicate this exactly behavior on three different machines. It doesn't seem like an environment issue.

arefinsami commented 4 years ago

Any update on this? Our script is still broken.

viniciusvillas commented 4 years ago

Hello guys! Could anyone give us an update about this issue? Will it be solved? Will it be dismissed? Is this feature being deprecated? I'm just after an indication to decide whether to steer our efforts towards some other solution or just wait. Thanks! ;)

ppollice commented 4 years ago

Issues here as well. and have databases with 27000 entries that need remediated. the limit of 100 in the portal is not gonna cut it.

davejhahn commented 3 years ago

Having this same issue with Get-AzSqlDatabaseSensitivityRecommendation. Runs fine locally but fails in an Azure PowerShell task in AzDO with 404.

ndowson commented 3 years ago

The fix for this is to install Az.sql version 2.6.0- Install-Module Az.sql -RequiredVersion 2.6.0 -SkipPublisherCheck -force -AllowClobber Then import it Import-module Az.Sql -RequiredVersion 2.6.0 Run the commands using e.g Set-AzSqlDatabaseSensitivityClassification

tmmueller commented 3 years ago

Reverting to Az.Sql 2.6.0 worked for me as well. Not exactly ideal.

terakota commented 3 years ago

Got same error message while trying to disable sensitivity recommendations with: Get-AzSqlDatabaseSensitivityRecommendation -ResourceGroupName resourceGroup -ServerName server -DatabaseName database | Disable-AzSqlDatabaseSensitivityRecommendation Get-AzSqlDatabaseSensitivityRecommendation works fine, but Disable-AzSqlDatabaseSensitivityRecommendation part do not work. Az.SQL version : 3.3.0

WackyWix commented 3 years ago

The fix for this is to install Az.sql version 2.6.0- Install-Module Az.sql -RequiredVersion 2.6.0 -SkipPublisherCheck -force -AllowClobber Then import it Import-module Az.Sql -RequiredVersion 2.6.0 Run the commands using e.g Set-AzSqlDatabaseSensitivityClassification

Thank you!!! Been struggling to set all 10000 + Sensitivity Classifications for a database 2 days now, and the revert to Az.sql 2.6.0 worked for me too. The accept only 100 at a time in the Portal UI definitely not going to cut it....

SaurabhSharma-MSFT commented 2 years ago

@viniciusvillas Apologies for the delayed response. I see that this issue is opened long time ago and no further activity had taken place. So wanted to check if you are still looking for assistance on this query? Please let us know .

ghost commented 2 years ago

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

viniciusvillas commented 2 years ago

@viniciusvillas Apologies for the delayed response. I see that this issue is opened long time ago and no further activity had taken place. So wanted to check if you are still looking for assistance on this query? Please let us know .

Hi Sharma! Thanks for the reply! Better late than never, I think ;) I've been using the REST interface - I copied the calls from the Azure Portal - to dismiss these classification suggestions, so I can't say if this is fixed or not on the cmdlet. To be honest, I lost faith that this would ever be responded - which is odd, given the size of the company behind Azure and the annual profit they get from it, bugs should be high in their priority list. This was 1 and 1/2 years ago, so it really should be fixed by now, regardless of my own necessity. Thanks, nonetheless!

brendon-r commented 2 years ago

Just posting that this is still an issue in the latest version of Az. Installing 2.6.0 fixed the issue.

AnikaShuk commented 1 year ago

Now we have so many advance versions of Az.sql , then why only it works with 2.6.0?