Skip to content

[Insights] Using SDK 20.1-preview with some fixes. Fixing reported issues with the Diagnostic Settings cmdlets #6998 #7021

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 23, 2018

Conversation

markcowl
Copy link
Member

Description

Checklist

@@ -30,7 +30,7 @@ public ActionGroupsTests(Xunit.Abstractions.ITestOutputHelper output)
XunitTracingInterceptor.AddToContext(_logger);
}

[Fact]
[Fact(Skip = "Needs to be recorded again")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an issue filed against Insights

maddieclayton
maddieclayton previously approved these changes Aug 22, 2018
@markcowl markcowl merged commit 2309d69 into Azure:release-2018-08-24 Aug 23, 2018
@scottpazelt
Copy link

I downloaded the latest 5.1.1 version of azurerm.insights from PSGallery and I'm still receiving the error below.

Get-AzureRmDiagnosticSetting : Operation returned an invalid status code 'NotFound'
At line:1 char:1

  • Get-AzureRmDiagnosticSetting -ResourceId "/subscriptions/f3816459-420 ...
  •   + CategoryInfo          : CloseError: (:) [Get-AzureRmDiagnosticSetting], ErrorResponseException
      + FullyQualifiedErrorId : Microsoft.Azure.Commands.Insights.Diagnostics.GetAzureRmDiagnosticSettingCommand
    

@acroftslalom
Copy link

@scottpazelt It looks like the v.5.1.1 that is "released to customers" is still old; you can compare the cmdlet bits to the commits for this change and see that it's still using old code/referenced libraries.

I believe this gets officially released 8/28:

https://github.com/Azure/azure-powershell/milestone/54

It looks like it's available in CloudShell today however.

@acroftslalom
Copy link

acroftslalom commented Aug 24, 2018

FYI I was able to go to:

https://shell.azure.com

And install the module "AzureRM.NetCore" (not regular AzureRM, it does not work in Linux), and successfully run the "Set-AzureRmDiagnosticSetting" command that was failing.

@scottpazelt
Copy link

Thanks @acroftslalom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants