Skip to content
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

Get-AzSubscriptionDiagnosticSettingCategory is not recognized as a name of a cmdlet in Azure Cloud Shell #2537

Closed
3 tasks done
vegazbabz opened this issue Apr 26, 2023 · 6 comments
Assignees
Labels
cxp doc-bug Issue - error in documentation issue-doc-bug Issue - error in documentation needs-triage Waiting - Needs triage Pri3 Priority - Low triaged

Comments

@vegazbabz
Copy link

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in Get-Foo cmdlet" instead of "Typo."
  • Verify Version: If there is a mismatch between documentation and the behavior on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.

Links

Summary

Get-AzSubscriptionDiagnosticSettingCategory is not recognized as a name of a cmdlet in Azure Cloud Shell.

Details

No response

Suggested Fix

Add it to Cloud Shell PowerShell.

@vegazbabz vegazbabz added issue-doc-bug Issue - error in documentation needs-triage Waiting - Needs triage labels Apr 26, 2023
@issues-automation issues-automation bot added the Pri3 Priority - Low label Apr 26, 2023
@Naveenommi-MSFT Naveenommi-MSFT added triaged assigned-to-author Tag - assigned to author doc-bug Issue - error in documentation labels Apr 26, 2023
@Naveenommi-MSFT
Copy link

@vegazbabz
Thank you for bringing this to our attention.
I've delegated this to content author @dingmeng-xue, who will review it and offer their insightful opinions.

@Naveenommi-MSFT
Copy link

@dingmeng-xue
Could you please review add comments on this, update as appropriate.

@dingmeng-xue dingmeng-xue removed their assignment Apr 27, 2023
@dingmeng-xue
Copy link
Contributor

@isra-fel , please look into it and assign team member.

@Naveenommi-MSFT
Copy link

@vegazbabz
I have recreated the same issue in one of our github link as per our content author request.
You can follow the update as below thread. Now we are going close this thread in this repo. Thanks!!!

Azure/azure-powershell#21660

@isra-fel
Copy link
Contributor

isra-fel commented May 4, 2023

@vegazbabz we are tracking the issue here: Azure/azure-powershell#21660
Please let us know if the issue has been fixed for you 😀
BTW may I ask where did you find this deprecated cmdlet? If there are outdated documents/examples we may need to update them as well.

@vegazbabz
Copy link
Author

@vegazbabz we are tracking the issue here: Azure/azure-powershell#21660 Please let us know if the issue has been fixed for you 😀 BTW may I ask where did you find this deprecated cmdlet? If there are outdated documents/examples we may need to update them as well.

It does not say it is deprecated any where...
You now have different columns, but that is what it is.
imageimage

I wanted to use this, because I want to "Enable all categories for a subscription"
https://learn.microsoft.com/en-us/powershell/module/az.monitor/set-azdiagnosticsetting?view=azps-8.3.0#example-7-enable-all-categories-for-a-subscription
This points to this https://learn.microsoft.com/en-us/powershell/module/az.monitor/new-azdiagnosticdetailsetting?view=azps-8.3.0&viewFallbackFrom=azps-9.6.0 that seems to be deprecated as well for PSv9?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cxp doc-bug Issue - error in documentation issue-doc-bug Issue - error in documentation needs-triage Waiting - Needs triage Pri3 Priority - Low triaged
Projects
None yet
Development

No branches or pull requests

4 participants