diff --git a/src/SelfHelp/SelfHelp.Autorest/Az.SelfHelp.psd1 b/src/SelfHelp/SelfHelp.Autorest/Az.SelfHelp.psd1 index 26cbf73dbac8..5114f71871d7 100644 --- a/src/SelfHelp/SelfHelp.Autorest/Az.SelfHelp.psd1 +++ b/src/SelfHelp/SelfHelp.Autorest/Az.SelfHelp.psd1 @@ -11,7 +11,7 @@ DotNetFrameworkVersion = '4.7.2' RequiredAssemblies = './bin/Az.SelfHelp.private.dll' FormatsToProcess = './Az.SelfHelp.format.ps1xml' - FunctionsToExport = 'Get-AzSelfHelpDiagnostic', 'Get-AzSelfHelpDiscoverySolution', 'Get-AzSelfHelpSolution', 'Get-AzSelfHelpTroubleshooter', 'Invoke-AzSelfHelpCheckNameAvailability', 'Invoke-AzSelfHelpContinueTroubleshooter', 'New-AzSelfHelpDiagnostic', 'New-AzSelfHelpSolution', 'New-AzSelfHelpTroubleshooter', 'Restart-AzSelfHelpTroubleshooter', 'Stop-AzSelfHelpTroubleshooter', 'Update-AzSelfHelpSolution', '*' + FunctionsToExport = 'Get-AzSelfHelpDiagnostic', 'Get-AzSelfHelpDiscoverySolution', 'Get-AzSelfHelpSimplifiedSolution', 'Get-AzSelfHelpSolution', 'Get-AzSelfHelpSolutionSelfHelp', 'Get-AzSelfHelpTroubleshooter', 'Invoke-AzSelfHelpCheckNameAvailability', 'Invoke-AzSelfHelpContinueTroubleshooter', 'Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope', 'Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope', 'Invoke-AzSelfHelpWarmSolutionUp', 'New-AzSelfHelpDiagnostic', 'New-AzSelfHelpSimplifiedSolution', 'New-AzSelfHelpSolution', 'New-AzSelfHelpTroubleshooter', 'Restart-AzSelfHelpTroubleshooter', 'Stop-AzSelfHelpTroubleshooter', 'Update-AzSelfHelpSolution', '*' AliasesToExport = '*' PrivateData = @{ PSData = @{ diff --git a/src/SelfHelp/SelfHelp.Autorest/README.md b/src/SelfHelp/SelfHelp.Autorest/README.md index 4e85df71a964..75899e66513f 100644 --- a/src/SelfHelp/SelfHelp.Autorest/README.md +++ b/src/SelfHelp/SelfHelp.Autorest/README.md @@ -3,9 +3,6 @@ This directory contains the PowerShell module for the SelfHelp service. --- -## Status -[![Az.SelfHelp](https://img.shields.io/powershellgallery/v/Az.SelfHelp.svg?style=flat-square&label=Az.SelfHelp "Az.SelfHelp")](https://www.powershellgallery.com/packages/Az.SelfHelp/) - ## Info - Modifiable: yes - Generated: all @@ -32,7 +29,7 @@ For information on how to develop for `Az.SelfHelp`, see [how-to.md](how-to.md). ```yaml # pin the swagger version by using the commit id instead of branch name -commit: 270eeb7a7883e0ad4e183e809fb67c6551d0eaa0 +commit: 1145a0df0f91b5f0f1f5ab66667899a61eda5e2b require: # readme.azure.noprofile.md is the common configuration file - $(this-folder)/../../readme.azure.noprofile.md diff --git a/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/diagnostics.json b/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/diagnostics.json index 16cf3aa1ab26..74d3bb6ab8ba 100644 --- a/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/diagnostics.json +++ b/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/diagnostics.json @@ -1,6 +1,6 @@ { "resourceType": "diagnostics", - "apiVersion": "2023-06-01", + "apiVersion": "2024-03-01-preview", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.selfhelp" }, diff --git a/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/selfHelp.json b/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/selfHelp.json new file mode 100644 index 000000000000..a4a8b6239a3b --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/selfHelp.json @@ -0,0 +1,37 @@ +{ + "resourceType": "selfHelp", + "apiVersion": "2024-03-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp" + }, + "commands": [ + { + "name": "Get-AzSelfHelpSolutionSelfHelp", + "description": "Finds and Executes a Self Help Solution based on the Solution Id.\nThese are static self help content to help users troubleshoot their issues.", + "path": "/providers/Microsoft.Help/selfHelp/{solutionId}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp/get-azselfhelpsolutionselfhelp" + }, + "parameterSets": [ + { + "parameters": [ + "-SolutionId " + ] + } + ] + }, + "examples": [ + { + "description": "Finds and Executes a Self Help Solution based on the Solution Id. These are static self help content to help users troubleshoot their issues.", + "parameters": [ + { + "name": "-SolutionId", + "value": "[Path.solutionId]" + } + ] + } + ] + } + ] +} diff --git a/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/simplifiedSolutions.json b/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/simplifiedSolutions.json new file mode 100644 index 000000000000..7ebb983d5cdf --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/simplifiedSolutions.json @@ -0,0 +1,42 @@ +{ + "resourceType": "simplifiedSolutions", + "apiVersion": "2024-03-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp" + }, + "commands": [ + { + "name": "Get-AzSelfHelpSimplifiedSolution", + "description": "Get the simplified Solutions using the applicable solutionResourceName while creating the simplified Solutions.", + "path": "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp/get-azselfhelpsimplifiedsolution" + }, + "parameterSets": [ + { + "parameters": [ + "-SResourceName ", + "-Scope " + ] + } + ] + }, + "examples": [ + { + "description": "Get the simplified Solutions using the applicable solutionResourceName while creating the simplified Solutions.", + "parameters": [ + { + "name": "-SResourceName", + "value": "[Path.simplifiedSolutionsResourceName]" + }, + { + "name": "-Scope", + "value": "[Path.scope]" + } + ] + } + ] + } + ] +} diff --git a/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/solutions.json b/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/solutions.json new file mode 100644 index 000000000000..467168dd47ab --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/solutions.json @@ -0,0 +1,75 @@ +{ + "resourceType": "solutions", + "apiVersion": "2024-03-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp" + }, + "commands": [ + { + "name": "Get-AzSelfHelpSolution", + "description": "Get the solution using the applicable solutionResourceName while creating the solution.", + "path": "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp/get-azselfhelpsolution" + }, + "parameterSets": [ + { + "parameters": [ + "-ResourceName ", + "-Scope " + ] + } + ] + }, + "examples": [ + { + "description": "Get the solution using the applicable solutionResourceName while creating the solution.", + "parameters": [ + { + "name": "-ResourceName", + "value": "[Path.solutionResourceName]" + }, + { + "name": "-Scope", + "value": "[Path.scope]" + } + ] + } + ] + }, + { + "name": "Invoke-AzSelfHelpWarmSolutionUp", + "description": "Warm up the solution resource by preloading asynchronous diagnostics results into cache", + "path": "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}/warmup", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp/invoke-azselfhelpwarmsolutionup" + }, + "parameterSets": [ + { + "parameters": [ + "-Scope ", + "-SolutionResourceName " + ] + } + ] + }, + "examples": [ + { + "description": "Warm up the solution resource by preloading asynchronous diagnostics results into cache", + "parameters": [ + { + "name": "-Scope", + "value": "[Path.scope]" + }, + { + "name": "-SolutionResourceName", + "value": "[Path.solutionResourceName]" + } + ] + } + ] + } + ] +} diff --git a/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/troubleshooters.json b/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/troubleshooters.json new file mode 100644 index 000000000000..d97c2a006635 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/UX/Microsoft.Help/troubleshooters.json @@ -0,0 +1,141 @@ +{ + "resourceType": "troubleshooters", + "apiVersion": "2024-03-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp" + }, + "commands": [ + { + "name": "Get-AzSelfHelpTroubleshooter", + "description": "Gets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.
Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow.\nThis API requires the Troubleshooter resource name that was created using the Create API.", + "path": "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp/get-azselfhelptroubleshooter" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-Scope " + ] + } + ] + }, + "examples": [ + { + "description": "Gets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.
Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow. This API requires the Troubleshooter resource name that was created using the Create API.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.troubleshooterName]" + }, + { + "name": "-Scope", + "value": "[Path.scope]" + } + ] + } + ] + }, + { + "name": "Invoke-AzSelfHelpContinueTroubleshooter", + "description": "Uses ‘stepId’ and ‘responses’ as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name.\n
Continue API is used to provide inputs that are required for the specific troubleshooter to progress into the next step in the process.\nThis API is used after the Troubleshooter has been created using the Create API.", + "path": "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/continue", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp/invoke-azselfhelpcontinuetroubleshooter" + }, + "parameterSets": [ + { + "parameters": [ + "-Scope ", + "-TroubleshooterName " + ] + } + ] + }, + "examples": [ + { + "description": "Uses ‘stepId’ and ‘responses’ as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name.
Continue API is used to provide inputs that are required for the specific troubleshooter to progress into the next step in the process. This API is used after the Troubleshooter has been created using the Create API.", + "parameters": [ + { + "name": "-Scope", + "value": "[Path.scope]" + }, + { + "name": "-TroubleshooterName", + "value": "[Path.troubleshooterName]" + } + ] + } + ] + }, + { + "name": "Restart-AzSelfHelpTroubleshooter", + "description": "Restarts the troubleshooter API using applicable troubleshooter resource name as the input.
It returns new resource name which should be used in subsequent request.\nThe old resource name is obsolete after this API is invoked.", + "path": "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/restart", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp/restart-azselfhelptroubleshooter" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-Scope " + ] + } + ] + }, + "examples": [ + { + "description": "Restarts the troubleshooter API using applicable troubleshooter resource name as the input.
It returns new resource name which should be used in subsequent request. The old resource name is obsolete after this API is invoked.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.troubleshooterName]" + }, + { + "name": "-Scope", + "value": "[Path.scope]" + } + ] + } + ] + }, + { + "name": "Stop-AzSelfHelpTroubleshooter", + "description": "Ends the troubleshooter action", + "path": "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/end", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.selfhelp/stop-azselfhelptroubleshooter" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-Scope " + ] + } + ] + }, + "examples": [ + { + "description": "Ends the troubleshooter action", + "parameters": [ + { + "name": "-Name", + "value": "[Path.troubleshooterName]" + }, + { + "name": "-Scope", + "value": "[Path.scope]" + } + ] + } + ] + } + ] +} diff --git a/src/SelfHelp/SelfHelp.Autorest/custom/README.md b/src/SelfHelp/SelfHelp.Autorest/custom/README.md index f1e81b8f7525..3b8f8a567306 100644 --- a/src/SelfHelp/SelfHelp.Autorest/custom/README.md +++ b/src/SelfHelp/SelfHelp.Autorest/custom/README.md @@ -1,5 +1,5 @@ # Custom -This directory contains custom implementation for non-generated cmdlets for the `Az.SelfHelp` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `..\exports` folder. The only generated file into this folder is the `Az.SelfHelp.custom.psm1`. This file should not be modified. +This directory contains custom implementation for non-generated cmdlets for the `Az.SelfHelp` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `../exports` folder. The only generated file into this folder is the `Az.SelfHelp.custom.psm1`. This file should not be modified. ## Info - Modifiable: yes @@ -15,10 +15,10 @@ For C# cmdlets, they are compiled with the rest of the generated low-level cmdle For script cmdlets, these are loaded via the `Az.SelfHelp.custom.psm1`. Then, during the build process, this module is loaded and processed in the same manner as the C# cmdlets. The fundamental difference is the script cmdlets use the `ParameterSetName` attribute and C# cmdlets do not. To create a script cmdlet variant of a generated cmdlet, simply decorate all parameters in the script with the new `ParameterSetName` in the `Parameter` attribute. This will appropriately treat each parameter set as a separate variant when processed to be exported during the build. ## Purpose -This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `..\exports` folder. +This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `../exports` folder. ## Usage -The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `..\exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters: +The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `../exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters: - Break - DefaultProfile - HttpPipelineAppend @@ -36,6 +36,6 @@ For processing the cmdlets, we've created some additional attributes: - `Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.DoNotExportAttribute` - Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.SelfHelp`. - `Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.InternalExportAttribute` - - Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.SelfHelp`. For more information, see [README.md](..\internal/README.md) in the `..\internal` folder. + - Used in C# cmdlets to route exported cmdlets to the `../internal`, which are *not exposed* by `Az.SelfHelp`. For more information, see [README.md](../internal/README.md) in the `../internal` folder. - `Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.ProfileAttribute` - Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules. \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Az.SelfHelp.md b/src/SelfHelp/SelfHelp.Autorest/docs/Az.SelfHelp.md index 564e42149464..1eb4292cad83 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/Az.SelfHelp.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Az.SelfHelp.md @@ -16,11 +16,18 @@ Get the diagnostics using the 'diagnosticsResourceName' you chose while creating ### [Get-AzSelfHelpDiscoverySolution](Get-AzSelfHelpDiscoverySolution.md) Lists the relevant Azure diagnostics and solutions using [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND resourceUri or resourceType.\
Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. -We will do our best to return the most effective solutions based on the type of inputs, in the request URL \
\
Mandatory input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) \
Optional input: resourceUri OR resource Type \
\
\Note: \ ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API. +\
\
Required Input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) \
Optional input: resourceUri OR resource Type \
\
\Note: \ ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API. + +### [Get-AzSelfHelpSimplifiedSolution](Get-AzSelfHelpSimplifiedSolution.md) +Get the simplified Solutions using the applicable solutionResourceName while creating the simplified Solutions. ### [Get-AzSelfHelpSolution](Get-AzSelfHelpSolution.md) Get the solution using the applicable solutionResourceName while creating the solution. +### [Get-AzSelfHelpSolutionSelfHelp](Get-AzSelfHelpSolutionSelfHelp.md) +Finds and Executes a Self Help Solution based on the Solution Id. +These are static self help content to help users troubleshoot their issues. + ### [Get-AzSelfHelpTroubleshooter](Get-AzSelfHelpTroubleshooter.md) Gets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.\
Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow. This API requires the Troubleshooter resource name that was created using the Create API. @@ -33,15 +40,31 @@ Uses ‘stepId’ and ‘responses’ as the trigger to continue the troubleshoo \
Continue API is used to provide inputs that are required for the specific troubleshooter to progress into the next step in the process. This API is used after the Troubleshooter has been created using the Create API. +### [Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope](Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.md) +Solution discovery using natural language processing. + +### [Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope](Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.md) +Solution discovery using natural language processing. + +### [Invoke-AzSelfHelpWarmSolutionUp](Invoke-AzSelfHelpWarmSolutionUp.md) +Warm up the solution resource by preloading asynchronous diagnostics results into cache + ### [New-AzSelfHelpDiagnostic](New-AzSelfHelpDiagnostic.md) Creates a diagnostic for the specific resource using solutionId and requiredInputs* from discovery solutions. -\
Diagnostics tells you precisely the root cause of the issue and the steps to address it. -You can get diagnostics once you discover the relevant solution for your Azure issue. -\
\
\Note: \ requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics API. +\
Diagnostics are powerful solutions that access product resources or other relevant data and provide the root cause of the issue and the steps to address the issue.\
\
\Note: \ ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics API. + +### [New-AzSelfHelpSimplifiedSolution](New-AzSelfHelpSimplifiedSolution.md) +Creates a simplified Solutions for the specific Azure resource or subscription using the inputs ‘solutionId and requiredInputs’ from discovery solutions. +In the absence of the ‘Parameters’ it is likely that some of the simplified Solutions might fail execution, and you might see an empty response. +\
\
\Note:\ \
1. +‘requiredInputs’ from Discovery solutions response must be passed via ‘parameters’ in the request body of simplified Solutions API. +\
### [New-AzSelfHelpSolution](New-AzSelfHelpSolution.md) -Creates a solution for the specific Azure resource or subscription using the triggering criteria ‘solutionId and requiredInputs’ from discovery solutions.\
Solutions are a rich, insightful and a centralized self help experience that brings all the relevant content to troubleshoot an Azure issue into a unified experience. -Solutions include the following components : Text, Diagnostics , Troubleshooters, Images , Video tutorials, Tables , custom charts, images , AzureKB, etc, with capabilities to support new solutions types in the future. +Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and requiredInputs’ from discovery solutions. +\
Azure solutions comprise a comprehensive library of self-help resources that have been thoughtfully curated by Azure engineers to aid customers in resolving typical troubleshooting issues. +These solutions encompass (1.) dynamic and context-aware diagnostics, guided troubleshooting wizards, and data visualizations, (2.) rich instructional video tutorials and illustrative diagrams and images, and (3.) thoughtfully assembled textual troubleshooting instructions. +All these components are seamlessly converged into unified solutions tailored to address a specific support problem area. Each solution type may require one or more ‘requiredParameters’ that are required to execute the individual solution component. In the absence of the ‘requiredParameters’ it is likely that some of the solutions might fail execution, and you might see an empty response. \
\
\Note:\ \
1. @@ -52,11 +75,10 @@ In the absence of the ‘requiredParameters’ it is likely that some of the sol ### [New-AzSelfHelpTroubleshooter](New-AzSelfHelpTroubleshooter.md) Creates the specific troubleshooter action under a resource or subscription using the ‘solutionId’ and ‘properties.parameters’ as the trigger. -\
Troubleshooters are step-by-step interactive guidance that scope the problem by collecting additional inputs from you in each stage while troubleshooting an Azure issue. -You will be guided down decision tree style workflow and the best possible solution will be presented at the end of the workflow. -\
Create API creates the Troubleshooter API using ‘parameters’ and ‘solutionId’ \
After creating the Troubleshooter instance, the following APIs can be used:\
CONTINUE API: to move to the next step in the flow \
GET API: to identify the next step after executing the CONTINUE API. - \
\
\Note:\ ‘requiredParameters’ from solutions response must be passed via ‘properties. -parameters’ in the request body of Troubleshooters API. +\
Azure Troubleshooters help with hard to classify issues, reducing the gap between customer observed problems and solutions by guiding the user effortlessly through the troubleshooting process. +Each Troubleshooter flow represents a problem area within Azure and has a complex tree-like structure that addresses many root causes. +These flows are prepared with the help of Subject Matter experts and customer support engineers by carefully considering previous support requests raised by customers. +Troubleshooters terminate at a well curated solution based off of resource backend signals and customer manual selections. ### [Restart-AzSelfHelpTroubleshooter](Restart-AzSelfHelpTroubleshooter.md) Restarts the troubleshooter API using applicable troubleshooter resource name as the input.\
It returns new resource name which should be used in subsequent request. diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpDiagnostic.md b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpDiagnostic.md index 5454751fdf43..ea3a87a229a0 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpDiagnostic.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpDiagnostic.md @@ -76,7 +76,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -114,23 +114,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IDiagnosticResource +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IDiagnosticResource ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[DiagnosticsResourceName ]`: Unique resource name for insight resources - - `[Id ]`: Resource identity path - - `[Scope ]`: This is an extension resource provider and only resource level extension is supported at the moment. - - `[SolutionResourceName ]`: Solution resource Name. - - `[TroubleshooterName ]`: Troubleshooter resource Name. - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpDiscoverySolution.md b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpDiscoverySolution.md index 8134db7c9554..3ae79be9562d 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpDiscoverySolution.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpDiscoverySolution.md @@ -9,30 +9,32 @@ schema: 2.0.0 ## SYNOPSIS Lists the relevant Azure diagnostics and solutions using [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND resourceUri or resourceType.\
Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. -We will do our best to return the most effective solutions based on the type of inputs, in the request URL \
\
Mandatory input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) \
Optional input: resourceUri OR resource Type \
\
\Note: \ ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API. +\
\
Required Input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) \
Optional input: resourceUri OR resource Type \
\
\Note: \ ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API. ## SYNTAX ``` -Get-AzSelfHelpDiscoverySolution -Scope [-Filter ] [-Skiptoken ] - [-DefaultProfile ] [] +Get-AzSelfHelpDiscoverySolution [-Filter ] [-Skiptoken ] [-DefaultProfile ] + [] ``` ## DESCRIPTION Lists the relevant Azure diagnostics and solutions using [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND resourceUri or resourceType.\
Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. -We will do our best to return the most effective solutions based on the type of inputs, in the request URL \
\
Mandatory input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) \
Optional input: resourceUri OR resource Type \
\
\Note: \ ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API. +\
\
Required Input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) \
Optional input: resourceUri OR resource Type \
\
\Note: \ ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API. ## EXAMPLES ### Example 1: Get Solution Metadata by resource id ```powershell - Get-AzSelfHelpDiscoverySolution -Scope "subscriptions/6bded6d5-a6df-44e1-96d3-bf71f6f5f8ba/resourceGroups/test-rgName/providers/Microsoft.KeyVault/vaults/testKeyVault" -Filter "problemClassificationId eq '1ddda5b4-cf6c-4d4f-91ad-bc38ab0e811e'" +Get-AzSelfHelpDiscoverySolution -Filter "ProblemClassificationId eq 'a5db90c3-f147-bce6-83b0-ab5e0aeca1f0'" ``` ```output -Name ----- -KeyVaultUnauthorizedNetworkInsight +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType + +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- + +a5db90c3-f147-bce6-83b0-ab5e0aeca1f0 ``` Get Solution Metadata by resource id @@ -56,9 +58,9 @@ Accept wildcard characters: False ``` ### -Filter -'ProblemClassificationId' or 'Id' is a mandatory filter to get solutions ids. +'ProblemClassificationId' is a mandatory filter to get solutions ids. It also supports optional 'ResourceType' and 'SolutionType' filters. -The filter supports only 'and', 'or' and 'eq' operators. +The [$filter](https://learn.microsoft.com/en-us/odata/webapi/first-odata-api#filter) supports only 'and', 'or' and 'eq' operators. Example: $filter=ProblemClassificationId eq '1ddda5b4-cf6c-4d4f-91ad-bc38ab0e811e' ```yaml @@ -73,21 +75,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Skiptoken Skiptoken is only used if a previous operation returned a partial result. @@ -110,11 +97,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ISolutionMetadataResource +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISolutionMetadataResource ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpSimplifiedSolution.md b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpSimplifiedSolution.md new file mode 100644 index 000000000000..26196808b7e6 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpSimplifiedSolution.md @@ -0,0 +1,125 @@ +--- +external help file: +Module Name: Az.SelfHelp +online version: https://learn.microsoft.com/powershell/module/az.selfhelp/get-azselfhelpsimplifiedsolution +schema: 2.0.0 +--- + +# Get-AzSelfHelpSimplifiedSolution + +## SYNOPSIS +Get the simplified Solutions using the applicable solutionResourceName while creating the simplified Solutions. + +## SYNTAX + +### Get (Default) +``` +Get-AzSelfHelpSimplifiedSolution -Scope -SResourceName [-DefaultProfile ] + [] +``` + +### GetViaIdentity +``` +Get-AzSelfHelpSimplifiedSolution -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Get the simplified Solutions using the applicable solutionResourceName while creating the simplified Solutions. + +## EXAMPLES + +### Example 1: Get Simplified Solutions +```powershell +$resourceName = "sampleRName" + +Get-AzSelfHelpSimplifiedSolution -Scope "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/aits-data-inestion/providers/Microsoft.KeyVault/vaults/kv-akshayko519290291381" -SResourceName $resourceName +``` + +```output +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- +sampleRName aits-data-inestion +``` + +Get the simplified Solutions using the applicable solutionResourceName while creating the simplified Solutions. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ISelfHelpIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Scope +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SResourceName +Simplified Solutions Resource Name. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: SimplifiedSolutionsResourceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ISelfHelpIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISimplifiedSolutionsResource + +## NOTES + +## RELATED LINKS + diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpSolution.md b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpSolution.md index 15bc02b62d45..63444d9b5f5b 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpSolution.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpSolution.md @@ -28,20 +28,18 @@ Get the solution using the applicable solutionResourceName while creating the so ## EXAMPLES -### Example 1: Get Azure Solution +### Example 1: Get-AzSelfHelpSolution by resource id ```powershell -Get-AzSelfHelpSolution -ResourceName test-resource -Scope /subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/testRg/providers/Microsoft.KeyVault/vaults/testVault +Get-AzSelfHelpSolution -ResourceName test-resource234 -Scope /subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/DiagnosticsRp-Ev2AssistId-Public-Dev/providers/Microsoft.KeyVault/vaults/DiagRp-Ev2PublicDev ``` ```output -Location Name ResourceGroupName - --------- ---- ----------------- - - test-resource testRg +Location Name ResourceGroupName +-------- ---- ----------------- + test-resource234 DiagnosticsRp-Ev2AssistId-Public-Dev ``` -Gets the solution using the applicable solution ResourceName while creating the solution. +Get SelfHelp Solution by resource id ## PARAMETERS @@ -93,7 +91,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -116,23 +114,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ISolutionResource +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISolutionResource ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[DiagnosticsResourceName ]`: Unique resource name for insight resources - - `[Id ]`: Resource identity path - - `[Scope ]`: This is an extension resource provider and only resource level extension is supported at the moment. - - `[SolutionResourceName ]`: Solution resource Name. - - `[TroubleshooterName ]`: Troubleshooter resource Name. - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpSolutionSelfHelp.md b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpSolutionSelfHelp.md new file mode 100644 index 000000000000..e4a0ebdea814 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpSolutionSelfHelp.md @@ -0,0 +1,111 @@ +--- +external help file: +Module Name: Az.SelfHelp +online version: https://learn.microsoft.com/powershell/module/az.selfhelp/get-azselfhelpsolutionselfhelp +schema: 2.0.0 +--- + +# Get-AzSelfHelpSolutionSelfHelp + +## SYNOPSIS +Finds and Executes a Self Help Solution based on the Solution Id. +These are static self help content to help users troubleshoot their issues. + +## SYNTAX + +### Get (Default) +``` +Get-AzSelfHelpSolutionSelfHelp -SolutionId [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzSelfHelpSolutionSelfHelp -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Finds and Executes a Self Help Solution based on the Solution Id. +These are static self help content to help users troubleshoot their issues. + +## EXAMPLES + +### Example 1: Get Self Help Solutions for a given solutionId +```powershell +Get-AzSelfHelpSolutionSelfHelp -SolutionId "apollo-48996ff7-002f-47c1-85b2-df138843d5d5" +``` + +```output +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- +apollo-48996ff7-002f-47c1-85b2-df138843d5d5 +``` + +Gets Self Help Solutions for a given solutionId. Self Help Solutions consist of rich instructional video tutorials, links and guides to public documentation related to a specific problem that enables users to troubleshoot Azure issues. + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ISelfHelpIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SolutionId +SolutionId is a unique id to identify a solution. +You can retrieve the solution id using the Discovery api - https://learn.microsoft.com/en-us/rest/api/help/discovery-solution/list?view=rest-help-2023-09-01-preview&tabs=HTTP + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ISelfHelpIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISolutionResourceSelfHelp + +## NOTES + +## RELATED LINKS + diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpTroubleshooter.md b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpTroubleshooter.md index 1cb18fc9325d..21abd95a55a0 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpTroubleshooter.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Get-AzSelfHelpTroubleshooter.md @@ -30,20 +30,20 @@ This API requires the Troubleshooter resource name that was created using the Cr ## EXAMPLES -### Example 1: Get Troubleshooter result +### Example 1: Get-AzSelfHelpTroubleshooter by troubleshooter name (GUID) ```powershell -Get-AzSelfHelpTroubleshooter -Scope "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba" -Name "02d59989-f8a9-4b69-9919-1ef51df4eff6" +Get-AzSelfHelpTroubleshooter -Scope "/subscriptions/" -Name "02d59989-f8a9-4b69-9919-1ef51df4eff6" ``` ```output -Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- +02d59989-f8a9-4b69-9919-1ef51df4eff6 ----- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- - -02d59989-f8a9-4b69-9919-1ef51df4eff6 ``` -Use to get troubleshooter result. It is also used to determine the step status/result of the troubleshooter resource name that is being executed. +Get Azure SelfHelp Troubleshooter by name. +The name is the guid of the troubleshooter. ## PARAMETERS @@ -95,7 +95,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -118,23 +118,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ITroubleshooterResource +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ITroubleshooterResource ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[DiagnosticsResourceName ]`: Unique resource name for insight resources - - `[Id ]`: Resource identity path - - `[Scope ]`: This is an extension resource provider and only resource level extension is supported at the moment. - - `[SolutionResourceName ]`: Solution resource Name. - - `[TroubleshooterName ]`: Troubleshooter resource Name. - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpCheckNameAvailability.md b/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpCheckNameAvailability.md index f0ca1b33dbc0..d883e02db2dd 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpCheckNameAvailability.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpCheckNameAvailability.md @@ -43,15 +43,14 @@ This API is used to check the uniqueness of a resource name used for a diagnosti ## EXAMPLES -### Example 1: Checks if resource name is avilabale/unique for the scope or not +### Example 1: Invoke-AzSelfHelpCheckNameAvailability ```powershell $CHECKNAMEAVAILABILITYREQUEST = [ordered]@{ "name" ="helloworld" “type” = “solutions” } - -Invoke-AzSelfHelpCheckNameAvailability -Scope "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba" -CheckNameAvailabilityRequest $CHECKNAMEAVAILABILITYREQUEST + Invoke-AzSelfHelpCheckNameAvailability -Scope "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba" -CheckNameAvailabilityRequest $CHECKNAMEAVAILABILITYREQUEST ``` ```output @@ -130,7 +129,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -201,27 +200,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ICheckNameAvailabilityResponse +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ICheckNameAvailabilityResponse ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`CHECKNAMEAVAILABILITYREQUEST `: The check availability request body. - - `[Name ]`: The name of the resource for which availability needs to be checked. - - `[Type ]`: The resource type. - -`INPUTOBJECT `: Identity Parameter - - `[DiagnosticsResourceName ]`: Unique resource name for insight resources - - `[Id ]`: Resource identity path - - `[Scope ]`: This is an extension resource provider and only resource level extension is supported at the moment. - - `[SolutionResourceName ]`: Solution resource Name. - - `[TroubleshooterName ]`: Troubleshooter resource Name. - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpContinueTroubleshooter.md b/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpContinueTroubleshooter.md index de4ec33be3a0..e9cc6bc27bd9 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpContinueTroubleshooter.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpContinueTroubleshooter.md @@ -49,7 +49,7 @@ This API is used after the Troubleshooter has been created using the Create API. ## EXAMPLES -### Example 1: Continue to next troubleshooter step +### Example 1: Continue Troubleshooter to next step ```powershell $continueRequest = [ordered]@{ "StepId" ="15ebac6c-96a1-4a67-ae9d-b06011d232ff" @@ -61,8 +61,10 @@ Invoke-AzSelfHelpContinueTroubleshooter -Scope "/subscriptions/6bded6d5-a6af-43 ```output [No Response Body If Success - HttpStatus Code 204] ``` -If continue is success, you will see no response. If continue is not success, you will see the error message. You can see the status of the troubleshooter step by using `Get-AzSelfHelpTroubleshooter` cmdlet. +If continue is success, you will see no response. +If continue is not success, you will see the error message. +You can see the status of the troubleshooter step by using `Get-AzSelfHelpTroubleshooter` cmdlet. ## PARAMETERS @@ -71,7 +73,7 @@ Troubleshooter ContinueRequest body. To construct, see NOTES section for CONTINUEREQUESTBODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IContinueRequestBody +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IContinueRequestBody Parameter Sets: Continue, ContinueViaIdentity Aliases: @@ -134,7 +136,7 @@ Accept wildcard characters: False To construct, see NOTES section for RESPONSE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ITroubleshooterResponse[] +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ITroubleshooterResponse[] Parameter Sets: ContinueExpanded, ContinueViaIdentityExpanded Aliases: @@ -146,7 +148,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -226,7 +228,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IContinueRequestBody +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IContinueRequestBody ### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ISelfHelpIdentity @@ -236,31 +238,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`CONTINUEREQUESTBODY `: Troubleshooter ContinueRequest body. - - `[Response ]`: - - `[QuestionId ]`: id of the question. - - `[QuestionType ]`: Text Input. Will be a single line input. - - `[Response ]`: Response key for SingleInput. For Multi-line test/open ended question it is free form text - - `[StepId ]`: Unique id of the result. - -`INPUTOBJECT `: Identity Parameter - - `[DiagnosticsResourceName ]`: Unique resource name for insight resources - - `[Id ]`: Resource identity path - - `[Scope ]`: This is an extension resource provider and only resource level extension is supported at the moment. - - `[SolutionResourceName ]`: Solution resource Name. - - `[TroubleshooterName ]`: Troubleshooter resource Name. - -`RESPONSE `: . - - `[QuestionId ]`: id of the question. - - `[QuestionType ]`: Text Input. Will be a single line input. - - `[Response ]`: Response key for SingleInput. For Multi-line test/open ended question it is free form text - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.md b/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.md new file mode 100644 index 000000000000..b6cb6d91e89f --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.md @@ -0,0 +1,232 @@ +--- +external help file: +Module Name: Az.SelfHelp +online version: https://learn.microsoft.com/powershell/module/az.selfhelp/invoke-azselfhelpdiscoverysolutionnlpsubscriptionscope +schema: 2.0.0 +--- + +# Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope + +## SYNOPSIS +Solution discovery using natural language processing. + +## SYNTAX + +### PostExpanded (Default) +``` +Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope [-SubscriptionId ] + [-AdditionalContext ] [-IssueSummary ] [-ResourceId ] [-ServiceId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### Post +``` +Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope -DiscoverSolutionRequest + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### PostViaIdentity +``` +Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope -InputObject + -DiscoverSolutionRequest [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### PostViaIdentityExpanded +``` +Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope -InputObject + [-AdditionalContext ] [-IssueSummary ] [-ResourceId ] [-ServiceId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Solution discovery using natural language processing. + +## EXAMPLES + +### Example 1: Discover Solution using natural language at subscription scope +```powershell +Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope -SubscriptionId "6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba" -IssueSummary "Billing Issues" +``` + +```output +[No output] +``` + +Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue summary and subscription. + +## PARAMETERS + +### -AdditionalContext +Additional information in the form of a string. + +```yaml +Type: System.String +Parameter Sets: PostExpanded, PostViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DiscoverSolutionRequest +Discover NLP request. +To construct, see NOTES section for DISCOVERSOLUTIONREQUEST properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IDiscoveryNlpRequest +Parameter Sets: Post, PostViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ISelfHelpIdentity +Parameter Sets: PostViaIdentity, PostViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IssueSummary +Describe the issue with the affected resource. + +```yaml +Type: System.String +Parameter Sets: PostExpanded, PostViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +Provide resourceId of affected resource + +```yaml +Type: System.String +Parameter Sets: PostExpanded, PostViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceId +Service Classification id for the resource. +You can find required serviceId from Services API: https://learn.microsoft.com/rest/api/support/services/listtabs=HTTP Service Id is the GUID which can be found under name field in Services List response + +```yaml +Type: System.String +Parameter Sets: PostExpanded, PostViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Post, PostExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IDiscoveryNlpRequest + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ISelfHelpIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISolutionNlpMetadataResource + +## NOTES + +## RELATED LINKS + diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.md b/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.md new file mode 100644 index 000000000000..2205c082f1b5 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.md @@ -0,0 +1,184 @@ +--- +external help file: +Module Name: Az.SelfHelp +online version: https://learn.microsoft.com/powershell/module/az.selfhelp/invoke-azselfhelpdiscoverysolutionnlptenantscope +schema: 2.0.0 +--- + +# Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope + +## SYNOPSIS +Solution discovery using natural language processing. + +## SYNTAX + +### PostExpanded (Default) +``` +Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope [-AdditionalContext ] [-IssueSummary ] + [-ResourceId ] [-ServiceId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### Post +``` +Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope -DiscoverSolutionRequest + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Solution discovery using natural language processing. + +## EXAMPLES + +### Example 1: Discover Solution using natural language at tenant scope +```powershell +Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope -IssueSummary "Billing Issues" +``` + +```output +[No output] +``` + +Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue summary. + +## PARAMETERS + +### -AdditionalContext +Additional information in the form of a string. + +```yaml +Type: System.String +Parameter Sets: PostExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DiscoverSolutionRequest +Discover NLP request. +To construct, see NOTES section for DISCOVERSOLUTIONREQUEST properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IDiscoveryNlpRequest +Parameter Sets: Post +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IssueSummary +Describe the issue with the affected resource. + +```yaml +Type: System.String +Parameter Sets: PostExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +Provide resourceId of affected resource + +```yaml +Type: System.String +Parameter Sets: PostExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceId +Service Classification id for the resource. +You can find required serviceId from Services API: https://learn.microsoft.com/rest/api/support/services/listtabs=HTTP Service Id is the GUID which can be found under name field in Services List response + +```yaml +Type: System.String +Parameter Sets: PostExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IDiscoveryNlpRequest + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISolutionNlpMetadataResource + +## NOTES + +## RELATED LINKS + diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpWarmSolutionUp.md b/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpWarmSolutionUp.md new file mode 100644 index 000000000000..56d728a725ad --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Invoke-AzSelfHelpWarmSolutionUp.md @@ -0,0 +1,218 @@ +--- +external help file: +Module Name: Az.SelfHelp +online version: https://learn.microsoft.com/powershell/module/az.selfhelp/invoke-azselfhelpwarmsolutionup +schema: 2.0.0 +--- + +# Invoke-AzSelfHelpWarmSolutionUp + +## SYNOPSIS +Warm up the solution resource by preloading asynchronous diagnostics results into cache + +## SYNTAX + +### WarmExpanded (Default) +``` +Invoke-AzSelfHelpWarmSolutionUp -Scope -SolutionResourceName [-Parameter ] + [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### Warm +``` +Invoke-AzSelfHelpWarmSolutionUp -Scope -SolutionResourceName + -SolutionWarmUpRequestBody [-DefaultProfile ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +### WarmViaIdentity +``` +Invoke-AzSelfHelpWarmSolutionUp -InputObject + -SolutionWarmUpRequestBody [-DefaultProfile ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +### WarmViaIdentityExpanded +``` +Invoke-AzSelfHelpWarmSolutionUp -InputObject [-Parameter ] + [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Warm up the solution resource by preloading asynchronous diagnostics results into cache + +## EXAMPLES + +### Example 1: Warm up the solution resource +```powershell +$resourceName = "sampleRName" +$parameters = [ordered]@{ + "ProductId" = "13491" +} +Invoke-AzSelfHelpWarmSolutionUp -Scope "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/aits-data-inestion/providers/Microsoft.KeyVault/vaults/kv-akshayko519290291381" -SolutionResourceName $resourceName -Parameter $parameters +``` + +```output +[No output] +``` + +Warm up the solution resource by preloading asynchronous diagnostics results into cache + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ISelfHelpIdentity +Parameter Sets: WarmViaIdentity, WarmViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Parameter +Dictionary of \ + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: WarmExpanded, WarmViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Scope +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read + +```yaml +Type: System.String +Parameter Sets: Warm, WarmExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SolutionResourceName +Solution resource Name. + +```yaml +Type: System.String +Parameter Sets: Warm, WarmExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SolutionWarmUpRequestBody +Solution WarmUpRequest body +To construct, see NOTES section for SOLUTIONWARMUPREQUESTBODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISolutionWarmUpRequestBody +Parameter Sets: Warm, WarmViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISolutionWarmUpRequestBody + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ISelfHelpIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpDiagnostic.md b/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpDiagnostic.md index bc2ff2891ac9..c758a3ef206a 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpDiagnostic.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpDiagnostic.md @@ -9,9 +9,7 @@ schema: 2.0.0 ## SYNOPSIS Creates a diagnostic for the specific resource using solutionId and requiredInputs* from discovery solutions. -\
Diagnostics tells you precisely the root cause of the issue and the steps to address it. -You can get diagnostics once you discover the relevant solution for your Azure issue. -\
\
\Note: \ requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics API. +\
Diagnostics are powerful solutions that access product resources or other relevant data and provide the root cause of the issue and the steps to address the issue.\
\
\Note: \ ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics API. ## SYNTAX @@ -23,9 +21,7 @@ New-AzSelfHelpDiagnostic -Scope -SResourceName [-GlobalParamet ## DESCRIPTION Creates a diagnostic for the specific resource using solutionId and requiredInputs* from discovery solutions. -\
Diagnostics tells you precisely the root cause of the issue and the steps to address it. -You can get diagnostics once you discover the relevant solution for your Azure issue. -\
\
\Note: \ requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics API. +\
Diagnostics are powerful solutions that access product resources or other relevant data and provide the root cause of the issue and the steps to address the issue.\
\
\Note: \ ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics API. ## EXAMPLES @@ -79,7 +75,7 @@ Accept wildcard characters: False ``` ### -GlobalParameter -Global parameters that can be passed to all solutionIds. +Global parameters is an optional map which can be used to add key and value to request body to improve the diagnostics results ```yaml Type: System.Collections.Hashtable @@ -98,7 +94,7 @@ SolutionIds that are needed to be invoked. To construct, see NOTES section for INSIGHT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IDiagnosticInvocation[] +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IDiagnosticInvocation[] Parameter Sets: (All) Aliases: @@ -125,7 +121,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -192,21 +188,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IDiagnosticResource +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IDiagnosticResource ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INSIGHT `: SolutionIds that are needed to be invoked. - - `[AdditionalParameter ]`: Additional parameters required to invoke the solutionId. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[SolutionId ]`: Solution Id to invoke. - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpSimplifiedSolution.md b/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpSimplifiedSolution.md new file mode 100644 index 000000000000..14b1056f105e --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpSimplifiedSolution.md @@ -0,0 +1,204 @@ +--- +external help file: +Module Name: Az.SelfHelp +online version: https://learn.microsoft.com/powershell/module/az.selfhelp/new-azselfhelpsimplifiedsolution +schema: 2.0.0 +--- + +# New-AzSelfHelpSimplifiedSolution + +## SYNOPSIS +Creates a simplified Solutions for the specific Azure resource or subscription using the inputs ‘solutionId and requiredInputs’ from discovery solutions. +In the absence of the ‘Parameters’ it is likely that some of the simplified Solutions might fail execution, and you might see an empty response. +\
\
\Note:\ \
1. +‘requiredInputs’ from Discovery solutions response must be passed via ‘parameters’ in the request body of simplified Solutions API. +\
+ +## SYNTAX + +``` +New-AzSelfHelpSimplifiedSolution -Scope -SResourceName [-Parameter ] + [-SolutionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a simplified Solutions for the specific Azure resource or subscription using the inputs ‘solutionId and requiredInputs’ from discovery solutions. +In the absence of the ‘Parameters’ it is likely that some of the simplified Solutions might fail execution, and you might see an empty response. +\
\
\Note:\ \
1. +‘requiredInputs’ from Discovery solutions response must be passed via ‘parameters’ in the request body of simplified Solutions API. +\
+ +## EXAMPLES + +### Example 1: Create a new simplified solution for a resource +```powershell +$resourceName = "sampleRName" +$solutionId = "9004345-7759" +$parameters = [ordered]@{ + + "SearchText" = "Billing" +} +New-AzSelfHelpSimplifiedSolution -Scope "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/aits-data-inestion/providers/Microsoft.KeyVault/vaults/kv-akshayko519290291381" -SResourceName $resourceName -SolutionId $solutionId -Parameter $parameters +``` + +```output +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- +sampleRName +``` + +Creates Simplified Solutions for an Azure subscription using 'solutionId' as the input. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Client input parameters to run Simplified Solutions + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Scope +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SolutionId +Solution Id to identify single Simplified Solution. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SResourceName +Simplified Solutions Resource Name. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: SimplifiedSolutionsResourceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISimplifiedSolutionsResource + +## NOTES + +## RELATED LINKS + diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpSolution.md b/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpSolution.md index b8bb8494ba15..1c2c86acf277 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpSolution.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpSolution.md @@ -8,8 +8,10 @@ schema: 2.0.0 # New-AzSelfHelpSolution ## SYNOPSIS -Creates a solution for the specific Azure resource or subscription using the triggering criteria ‘solutionId and requiredInputs’ from discovery solutions.\
Solutions are a rich, insightful and a centralized self help experience that brings all the relevant content to troubleshoot an Azure issue into a unified experience. -Solutions include the following components : Text, Diagnostics , Troubleshooters, Images , Video tutorials, Tables , custom charts, images , AzureKB, etc, with capabilities to support new solutions types in the future. +Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and requiredInputs’ from discovery solutions. +\
Azure solutions comprise a comprehensive library of self-help resources that have been thoughtfully curated by Azure engineers to aid customers in resolving typical troubleshooting issues. +These solutions encompass (1.) dynamic and context-aware diagnostics, guided troubleshooting wizards, and data visualizations, (2.) rich instructional video tutorials and illustrative diagrams and images, and (3.) thoughtfully assembled textual troubleshooting instructions. +All these components are seamlessly converged into unified solutions tailored to address a specific support problem area. Each solution type may require one or more ‘requiredParameters’ that are required to execute the individual solution component. In the absence of the ‘requiredParameters’ it is likely that some of the solutions might fail execution, and you might see an empty response. \
\
\Note:\ \
1. @@ -21,18 +23,16 @@ In the absence of the ‘requiredParameters’ it is likely that some of the sol ## SYNTAX ``` -New-AzSelfHelpSolution -ResourceName -Scope [-Content ] [-Parameter ] - [-ProvisioningState ] [-ReplacementMapDiagnostic ] - [-ReplacementMapMetricsBasedChart ] - [-ReplacementMapTroubleshooter ] [-ReplacementMapVideo ] - [-ReplacementMapVideoGroup ] [-ReplacementMapWebResult ] [-Section ] - [-SolutionId ] [-Title ] [-TriggerCriterion ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +New-AzSelfHelpSolution -ResourceName -Scope [-Parameter ] + [-TriggerCriterion ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION -Creates a solution for the specific Azure resource or subscription using the triggering criteria ‘solutionId and requiredInputs’ from discovery solutions.\
Solutions are a rich, insightful and a centralized self help experience that brings all the relevant content to troubleshoot an Azure issue into a unified experience. -Solutions include the following components : Text, Diagnostics , Troubleshooters, Images , Video tutorials, Tables , custom charts, images , AzureKB, etc, with capabilities to support new solutions types in the future. +Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and requiredInputs’ from discovery solutions. +\
Azure solutions comprise a comprehensive library of self-help resources that have been thoughtfully curated by Azure engineers to aid customers in resolving typical troubleshooting issues. +These solutions encompass (1.) dynamic and context-aware diagnostics, guided troubleshooting wizards, and data visualizations, (2.) rich instructional video tutorials and illustrative diagrams and images, and (3.) thoughtfully assembled textual troubleshooting instructions. +All these components are seamlessly converged into unified solutions tailored to address a specific support problem area. Each solution type may require one or more ‘requiredParameters’ that are required to execute the individual solution component. In the absence of the ‘requiredParameters’ it is likely that some of the solutions might fail execution, and you might see an empty response. \
\
\Note:\ \
1. @@ -43,29 +43,27 @@ In the absence of the ‘requiredParameters’ it is likely that some of the sol ## EXAMPLES -### Example 1: Creates Self Help Solution Resource on give Scope. +### Example 1: Create New SelfHelp Solution ```powershell $criteria = [ordered]@{ "name" ="SolutionId" - "value" = "keyvault-lostdeletedkeys-apollo-solution" + "value" = "apollo-cognitve-search-custom-skill" } $parameters = [ordered]@{ - "SearchText" = "Can not RDP" - "vault_name" = "DemoKeyvault" + "SearchText" = "Can not Search" } -New-AzSelfHelpSolution -ResourceName test-resource -Scope /subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/testRg/providers/Microsoft.KeyVault/vaults/testVault -Parameter $parameters -TriggerCriterion $criteria +New-AzSelfHelpSolution -ResourceName test-resource234 -Scope /subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/DiagnosticsRp-Ev2AssistId-Public-Dev/providers/Microsoft.KeyVault/vaults/DiagRp-Ev2PublicDev -Parameter $parameters -TriggerCriterion $criteria ``` ```output -Location Name ResourceGroupName --------- ---- ----------------- - test-resource testRg +Location Name ResourceGroupName +-------- ---- ----------------- + test-resource234 DiagnosticsRp-Ev2AssistId-Public-Dev ``` -Creates Solution Resource on give Scope. - +Creates a SelfHelp Solution for a resource. ## PARAMETERS @@ -84,21 +82,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Content -The HTML content that needs to be rendered and shown to customer. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -DefaultProfile The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. @@ -145,117 +128,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProvisioningState -Status of solution provisioning. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Support.SolutionProvisioningState -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapDiagnostic -Solution diagnostics results. -To construct, see NOTES section for REPLACEMENTMAPDIAGNOSTIC properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ISolutionsDiagnostic[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapMetricsBasedChart -Solution metrics based charts -To construct, see NOTES section for REPLACEMENTMAPMETRICSBASEDCHART properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IMetricsBasedChart[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapTroubleshooter -Solutions Troubleshooters -To construct, see NOTES section for REPLACEMENTMAPTROUBLESHOOTER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ISolutionsTroubleshooters[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapVideo -Video solutions, which have the power to engage the customer by stimulating their senses -To construct, see NOTES section for REPLACEMENTMAPVIDEO properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IVideo[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapVideoGroup -Group of Videos -To construct, see NOTES section for REPLACEMENTMAPVIDEOGROUP properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IVideoGroup[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapWebResult -Solution AzureKB results -To construct, see NOTES section for REPLACEMENTMAPWEBRESULT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IWebResult[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceName Solution resource Name. @@ -272,7 +144,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -286,58 +158,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Section -List of section object. -To construct, see NOTES section for SECTION properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ISection[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SolutionId -Solution Id to identify single solution. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Title -The title. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -TriggerCriterion Solution request trigger criteria To construct, see NOTES section for TRIGGERCRITERION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ITriggerCriterion[] +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ITriggerCriterion[] Parameter Sets: (All) Aliases: @@ -386,120 +212,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ISolutionResource +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISolutionResource ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`REPLACEMENTMAPDIAGNOSTIC `: Solution diagnostics results. - - `[Insight ]`: Diagnostic insights - - `[Id ]`: Article id. - - `[ImportanceLevel ]`: Importance level of the insight. - - `[Result ]`: Detailed result content. - - `[Title ]`: This insight's title. - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[RequiredParameter ]`: Required parameters of this item - - `[SolutionId ]`: Solution Id to identify single Solutions Diagnostic - - `[Status ]`: Denotes the status of the diagnostic resource. - - `[StatusDetail ]`: Details of the status - -`REPLACEMENTMAPMETRICSBASEDCHART `: Solution metrics based charts - - `[AggregationType ]`: Allowed values are Sum, Avg, Count, Min, Max. Default is Sum - - `[FilterGroupFilter ]`: List of filters - - `[Name ]`: Filter name - - `[Operator ]`: Filter operator - - `[Value ]`: Filter values - - `[Name ]`: Chart name - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[TimeSpanDuration ]`: Time span duration - - `[Title ]`: Chart title - -`REPLACEMENTMAPTROUBLESHOOTER `: Solutions Troubleshooters - - `[SolutionId ]`: Solution Id to identify single Solutions Troubleshooter - - `[Summary ]`: Troubleshooter summary - - `[Title ]`: Troubleshooter title - -`REPLACEMENTMAPVIDEO `: Video solutions, which have the power to engage the customer by stimulating their senses - - `[Src ]`: Link to the video - - `[Title ]`: Title of the video - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the insight content - -`REPLACEMENTMAPVIDEOGROUP `: Group of Videos - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the insight content - - `[Video ]`: List of videos will be shown to customers - - `[Src ]`: Link to the video - - `[Title ]`: Title of the video - -`REPLACEMENTMAPWEBRESULT `: Solution AzureKB results - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[SearchResult ]`: AzureKB search results - - `[Confidence ]`: Confidence of the search result. - - `[Content ]`: Content of the search result. - - `[Link ]`: Link to the document. - - `[Rank ]`: rank of the search result - - `[ResultType ]`: Result type of the search result. - - `[SolutionId ]`: Unique id of the result. - - `[Source ]`: Source of the search result. - - `[Title ]`: Title of the search result. - -`SECTION `: List of section object. - - `[Content ]`: Solution sections content. - - `[ReplacementMapDiagnostic ]`: Solution diagnostics results. - - `[Insight ]`: Diagnostic insights - - `[Id ]`: Article id. - - `[ImportanceLevel ]`: Importance level of the insight. - - `[Result ]`: Detailed result content. - - `[Title ]`: This insight's title. - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[RequiredParameter ]`: Required parameters of this item - - `[SolutionId ]`: Solution Id to identify single Solutions Diagnostic - - `[Status ]`: Denotes the status of the diagnostic resource. - - `[StatusDetail ]`: Details of the status - - `[ReplacementMapMetricsBasedChart ]`: Solution metrics based charts - - `[AggregationType ]`: Allowed values are Sum, Avg, Count, Min, Max. Default is Sum - - `[FilterGroupFilter ]`: List of filters - - `[Name ]`: Filter name - - `[Operator ]`: Filter operator - - `[Value ]`: Filter values - - `[Name ]`: Chart name - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[TimeSpanDuration ]`: Time span duration - - `[Title ]`: Chart title - - `[ReplacementMapTroubleshooter ]`: Solutions Troubleshooters - - `[SolutionId ]`: Solution Id to identify single Solutions Troubleshooter - - `[Summary ]`: Troubleshooter summary - - `[Title ]`: Troubleshooter title - - `[ReplacementMapVideo ]`: Video solutions, which have the power to engage the customer by stimulating their senses - - `[Src ]`: Link to the video - - `[Title ]`: Title of the video - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the insight content - - `[ReplacementMapVideoGroup ]`: Group of Videos - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the insight content - - `[Video ]`: List of videos will be shown to customers - - `[Src ]`: Link to the video - - `[Title ]`: Title of the video - - `[ReplacementMapWebResult ]`: Solution AzureKB results - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[SearchResult ]`: AzureKB search results - - `[Confidence ]`: Confidence of the search result. - - `[Content ]`: Content of the search result. - - `[Link ]`: Link to the document. - - `[Rank ]`: rank of the search result - - `[ResultType ]`: Result type of the search result. - - `[SolutionId ]`: Unique id of the result. - - `[Source ]`: Source of the search result. - - `[Title ]`: Title of the search result. - - `[Title ]`: Solution sections title. - -`TRIGGERCRITERION `: Solution request trigger criteria - - `[Name ]`: Trigger criterion name. - - `[Value ]`: Trigger criterion value. - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpTroubleshooter.md b/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpTroubleshooter.md index 134c80829a07..d2b52f775bd9 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpTroubleshooter.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/New-AzSelfHelpTroubleshooter.md @@ -9,11 +9,10 @@ schema: 2.0.0 ## SYNOPSIS Creates the specific troubleshooter action under a resource or subscription using the ‘solutionId’ and ‘properties.parameters’ as the trigger. -\
Troubleshooters are step-by-step interactive guidance that scope the problem by collecting additional inputs from you in each stage while troubleshooting an Azure issue. -You will be guided down decision tree style workflow and the best possible solution will be presented at the end of the workflow. -\
Create API creates the Troubleshooter API using ‘parameters’ and ‘solutionId’ \
After creating the Troubleshooter instance, the following APIs can be used:\
CONTINUE API: to move to the next step in the flow \
GET API: to identify the next step after executing the CONTINUE API. - \
\
\Note:\ ‘requiredParameters’ from solutions response must be passed via ‘properties. -parameters’ in the request body of Troubleshooters API. +\
Azure Troubleshooters help with hard to classify issues, reducing the gap between customer observed problems and solutions by guiding the user effortlessly through the troubleshooting process. +Each Troubleshooter flow represents a problem area within Azure and has a complex tree-like structure that addresses many root causes. +These flows are prepared with the help of Subject Matter experts and customer support engineers by carefully considering previous support requests raised by customers. +Troubleshooters terminate at a well curated solution based off of resource backend signals and customer manual selections. ## SYNTAX @@ -24,30 +23,27 @@ New-AzSelfHelpTroubleshooter -Name -Scope [-Parameter Troubleshooters are step-by-step interactive guidance that scope the problem by collecting additional inputs from you in each stage while troubleshooting an Azure issue. -You will be guided down decision tree style workflow and the best possible solution will be presented at the end of the workflow. -\
Create API creates the Troubleshooter API using ‘parameters’ and ‘solutionId’ \
After creating the Troubleshooter instance, the following APIs can be used:\
CONTINUE API: to move to the next step in the flow \
GET API: to identify the next step after executing the CONTINUE API. - \
\
\Note:\ ‘requiredParameters’ from solutions response must be passed via ‘properties. -parameters’ in the request body of Troubleshooters API. +\
Azure Troubleshooters help with hard to classify issues, reducing the gap between customer observed problems and solutions by guiding the user effortlessly through the troubleshooting process. +Each Troubleshooter flow represents a problem area within Azure and has a complex tree-like structure that addresses many root causes. +These flows are prepared with the help of Subject Matter experts and customer support engineers by carefully considering previous support requests raised by customers. +Troubleshooters terminate at a well curated solution based off of resource backend signals and customer manual selections. ## EXAMPLES - -### Example 1: Create new Troubleshooter Resource +### Example 1: New-AzSelfHelpTroubleshooter ```powershell -$parameters = [ordered]@{ - "ResourceUri"= "/subscriptions/02d59989-f8a9-4b69-9919-1ef51df4eff6" - } - -New-AzSelfHelpTroubleshooter -Scope "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba" -Name "02d59989-f8a9-4b69-9919-1ef51df4eff6" -Parameter $parameters +$parameters = [ordered]@{ + "addParam1"= "/subscriptions/02d59989-f8a9-4b69-9919-1ef51df4eff6" + + } +New-AzSelfHelpTroubleshooter -Scope "/subscriptions/6bded6d5-a +6af-43e1-96d3-bf71f6f5f8ba" -Name "12d59989-f8a9-4b69-9919-1ef51df4eff6" -Parameter $parameters -SolutionId "e104dbdf-9e14-4c9f-bc78-21ac90382231" ``` ```output -Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName - ----- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- - -12d59989-f8a9-4b69-9919-1ef51df4eff6 +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- +12d59989-f8a9-4b69-9919-1ef51df4eff6 ``` Creates new troubleshooter resource. @@ -101,7 +97,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -168,11 +164,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ITroubleshooterResource +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ITroubleshooterResource ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/README.md b/src/SelfHelp/SelfHelp.Autorest/docs/README.md index 51519d4f03a6..582bc9872402 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/README.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/README.md @@ -1,5 +1,5 @@ # Docs -This directory contains the documentation of the cmdlets for the `Az.SelfHelp` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `..\examples` folder. +This directory contains the documentation of the cmdlets for the `Az.SelfHelp` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `../examples` folder. ## Info - Modifiable: no @@ -8,4 +8,4 @@ This directory contains the documentation of the cmdlets for the `Az.SelfHelp` m - Packaged: yes ## Details -The process of documentation generation loads `Az.SelfHelp` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `..\exports` folder. Additionally, when writing custom cmdlets in the `..\custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `..\examples` folder. \ No newline at end of file +The process of documentation generation loads `Az.SelfHelp` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `../exports` folder. Additionally, when writing custom cmdlets in the `../custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `../examples` folder. \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Restart-AzSelfHelpTroubleshooter.md b/src/SelfHelp/SelfHelp.Autorest/docs/Restart-AzSelfHelpTroubleshooter.md index 24ee9e8e6495..bf040bb10584 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/Restart-AzSelfHelpTroubleshooter.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Restart-AzSelfHelpTroubleshooter.md @@ -46,8 +46,8 @@ Location TroubleshooterResourceName ``` -Restarts Troubleshooter instance. It returns new resource name which should be used in subsequent request. - +Restarts Troubleshooter instance. +It returns new resource name which should be used in subsequent request. ## PARAMETERS @@ -99,7 +99,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -153,23 +153,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IRestartTroubleshooterResponse +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IRestartTroubleshooterResponse ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[DiagnosticsResourceName ]`: Unique resource name for insight resources - - `[Id ]`: Resource identity path - - `[Scope ]`: This is an extension resource provider and only resource level extension is supported at the moment. - - `[SolutionResourceName ]`: Solution resource Name. - - `[TroubleshooterName ]`: Troubleshooter resource Name. - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Stop-AzSelfHelpTroubleshooter.md b/src/SelfHelp/SelfHelp.Autorest/docs/Stop-AzSelfHelpTroubleshooter.md index 65aa3842aba7..5a3694d583d3 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/Stop-AzSelfHelpTroubleshooter.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Stop-AzSelfHelpTroubleshooter.md @@ -105,7 +105,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -163,19 +163,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[DiagnosticsResourceName ]`: Unique resource name for insight resources - - `[Id ]`: Resource identity path - - `[Scope ]`: This is an extension resource provider and only resource level extension is supported at the moment. - - `[SolutionResourceName ]`: Solution resource Name. - - `[TroubleshooterName ]`: Troubleshooter resource Name. - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/docs/Update-AzSelfHelpSolution.md b/src/SelfHelp/SelfHelp.Autorest/docs/Update-AzSelfHelpSolution.md index c2795bb00b61..cc4d217d979f 100644 --- a/src/SelfHelp/SelfHelp.Autorest/docs/Update-AzSelfHelpSolution.md +++ b/src/SelfHelp/SelfHelp.Autorest/docs/Update-AzSelfHelpSolution.md @@ -14,24 +14,16 @@ Update the requiredInputs or additional information needed to execute the soluti ### UpdateExpanded (Default) ``` -Update-AzSelfHelpSolution -ResourceName -Scope [-Content ] [-Parameter ] - [-ProvisioningState ] [-ReplacementMapDiagnostic ] - [-ReplacementMapMetricsBasedChart ] - [-ReplacementMapTroubleshooter ] [-ReplacementMapVideo ] - [-ReplacementMapVideoGroup ] [-ReplacementMapWebResult ] [-Section ] - [-SolutionId ] [-Title ] [-TriggerCriterion ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzSelfHelpSolution -ResourceName -Scope [-Parameter ] + [-TriggerCriterion ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ### UpdateViaIdentityExpanded ``` -Update-AzSelfHelpSolution -InputObject [-Content ] [-Parameter ] - [-ProvisioningState ] [-ReplacementMapDiagnostic ] - [-ReplacementMapMetricsBasedChart ] - [-ReplacementMapTroubleshooter ] [-ReplacementMapVideo ] - [-ReplacementMapVideoGroup ] [-ReplacementMapWebResult ] [-Section ] - [-SolutionId ] [-Title ] [-TriggerCriterion ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzSelfHelpSolution -InputObject [-Parameter ] + [-TriggerCriterion ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -42,25 +34,23 @@ Update the requiredInputs or additional information needed to execute the soluti ### Example 1: Update the Solution Resource ```powershell $parameters = [ordered]@{ - "SearchText" = "Can not RDP" - "vault_name" = "DemoKeyvault" + "SearchText" = "Can not Search" } $criteria = [ordered]@{ "name" =" ReplacementKey" "value" = "" } -Update-AzSelfHelpSolution -ResourceName test-resource -Scope /subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/DiagnosticsRp-Ev2AssistId-Public-Dev/providers/Microsoft.KeyVault/vaults/DiagRp-Ev2PublicDev -Parameter $parameters -TriggerCriterion $criteria +Update-AzSelfHelpSolution -ResourceName test-resource234 -Scope /subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/DiagnosticsRp-Ev2AssistId-Public-Dev/providers/Microsoft.KeyVault/vaults/DiagRp-Ev2PublicDev -Parameter $parameters -TriggerCriterion $criteria ``` ```output -Location Name ResourceGroupName --------- ---- ----------------- - test-resource testRg +Location Name ResourceGroupName +-------- ---- ----------------- + test-resource234 DiagnosticsRp-Ev2AssistId-Public-Dev ``` Updates the requiredInputs or additional information needed to execute the solution - ## PARAMETERS ### -AsJob @@ -78,21 +68,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Content -The HTML content that needs to be rendered and shown to customer. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -DefaultProfile The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. @@ -155,117 +130,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProvisioningState -Status of solution provisioning. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Support.SolutionProvisioningState -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapDiagnostic -Solution diagnostics results. -To construct, see NOTES section for REPLACEMENTMAPDIAGNOSTIC properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ISolutionsDiagnostic[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapMetricsBasedChart -Solution metrics based charts -To construct, see NOTES section for REPLACEMENTMAPMETRICSBASEDCHART properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IMetricsBasedChart[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapTroubleshooter -Solutions Troubleshooters -To construct, see NOTES section for REPLACEMENTMAPTROUBLESHOOTER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ISolutionsTroubleshooters[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapVideo -Video solutions, which have the power to engage the customer by stimulating their senses -To construct, see NOTES section for REPLACEMENTMAPVIDEO properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IVideo[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapVideoGroup -Group of Videos -To construct, see NOTES section for REPLACEMENTMAPVIDEOGROUP properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IVideoGroup[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplacementMapWebResult -Solution AzureKB results -To construct, see NOTES section for REPLACEMENTMAPWEBRESULT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.IWebResult[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceName Solution resource Name. @@ -282,7 +146,7 @@ Accept wildcard characters: False ``` ### -Scope -This is an extension resource provider and only resource level extension is supported at the moment. +scope = resourceUri of affected resource.\
For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read ```yaml Type: System.String @@ -296,58 +160,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Section -List of section object. -To construct, see NOTES section for SECTION properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ISection[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SolutionId -Solution Id to identify single solution. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Title -The title. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -TriggerCriterion Solution request trigger criteria To construct, see NOTES section for TRIGGERCRITERION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ITriggerCriterion[] +Type: Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ITriggerCriterion[] Parameter Sets: (All) Aliases: @@ -398,127 +216,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20230901Preview.ISolutionResource +### Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.ISolutionResource ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[DiagnosticsResourceName ]`: Unique resource name for insight resources - - `[Id ]`: Resource identity path - - `[Scope ]`: This is an extension resource provider and only resource level extension is supported at the moment. - - `[SolutionResourceName ]`: Solution resource Name. - - `[TroubleshooterName ]`: Troubleshooter resource Name. - -`REPLACEMENTMAPDIAGNOSTIC `: Solution diagnostics results. - - `[Insight ]`: Diagnostic insights - - `[Id ]`: Article id. - - `[ImportanceLevel ]`: Importance level of the insight. - - `[Result ]`: Detailed result content. - - `[Title ]`: This insight's title. - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[RequiredParameter ]`: Required parameters of this item - - `[SolutionId ]`: Solution Id to identify single Solutions Diagnostic - - `[Status ]`: Denotes the status of the diagnostic resource. - - `[StatusDetail ]`: Details of the status - -`REPLACEMENTMAPMETRICSBASEDCHART `: Solution metrics based charts - - `[AggregationType ]`: Allowed values are Sum, Avg, Count, Min, Max. Default is Sum - - `[FilterGroupFilter ]`: List of filters - - `[Name ]`: Filter name - - `[Operator ]`: Filter operator - - `[Value ]`: Filter values - - `[Name ]`: Chart name - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[TimeSpanDuration ]`: Time span duration - - `[Title ]`: Chart title - -`REPLACEMENTMAPTROUBLESHOOTER `: Solutions Troubleshooters - - `[SolutionId ]`: Solution Id to identify single Solutions Troubleshooter - - `[Summary ]`: Troubleshooter summary - - `[Title ]`: Troubleshooter title - -`REPLACEMENTMAPVIDEO `: Video solutions, which have the power to engage the customer by stimulating their senses - - `[Src ]`: Link to the video - - `[Title ]`: Title of the video - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the insight content - -`REPLACEMENTMAPVIDEOGROUP `: Group of Videos - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the insight content - - `[Video ]`: List of videos will be shown to customers - - `[Src ]`: Link to the video - - `[Title ]`: Title of the video - -`REPLACEMENTMAPWEBRESULT `: Solution AzureKB results - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[SearchResult ]`: AzureKB search results - - `[Confidence ]`: Confidence of the search result. - - `[Content ]`: Content of the search result. - - `[Link ]`: Link to the document. - - `[Rank ]`: rank of the search result - - `[ResultType ]`: Result type of the search result. - - `[SolutionId ]`: Unique id of the result. - - `[Source ]`: Source of the search result. - - `[Title ]`: Title of the search result. - -`SECTION `: List of section object. - - `[Content ]`: Solution sections content. - - `[ReplacementMapDiagnostic ]`: Solution diagnostics results. - - `[Insight ]`: Diagnostic insights - - `[Id ]`: Article id. - - `[ImportanceLevel ]`: Importance level of the insight. - - `[Result ]`: Detailed result content. - - `[Title ]`: This insight's title. - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[RequiredParameter ]`: Required parameters of this item - - `[SolutionId ]`: Solution Id to identify single Solutions Diagnostic - - `[Status ]`: Denotes the status of the diagnostic resource. - - `[StatusDetail ]`: Details of the status - - `[ReplacementMapMetricsBasedChart ]`: Solution metrics based charts - - `[AggregationType ]`: Allowed values are Sum, Avg, Count, Min, Max. Default is Sum - - `[FilterGroupFilter ]`: List of filters - - `[Name ]`: Filter name - - `[Operator ]`: Filter operator - - `[Value ]`: Filter values - - `[Name ]`: Chart name - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[TimeSpanDuration ]`: Time span duration - - `[Title ]`: Chart title - - `[ReplacementMapTroubleshooter ]`: Solutions Troubleshooters - - `[SolutionId ]`: Solution Id to identify single Solutions Troubleshooter - - `[Summary ]`: Troubleshooter summary - - `[Title ]`: Troubleshooter title - - `[ReplacementMapVideo ]`: Video solutions, which have the power to engage the customer by stimulating their senses - - `[Src ]`: Link to the video - - `[Title ]`: Title of the video - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the insight content - - `[ReplacementMapVideoGroup ]`: Group of Videos - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the insight content - - `[Video ]`: List of videos will be shown to customers - - `[Src ]`: Link to the video - - `[Title ]`: Title of the video - - `[ReplacementMapWebResult ]`: Solution AzureKB results - - `[ReplacementKey ]`: Place holder used in HTML Content replace control with the content - - `[SearchResult ]`: AzureKB search results - - `[Confidence ]`: Confidence of the search result. - - `[Content ]`: Content of the search result. - - `[Link ]`: Link to the document. - - `[Rank ]`: rank of the search result - - `[ResultType ]`: Result type of the search result. - - `[SolutionId ]`: Unique id of the result. - - `[Source ]`: Source of the search result. - - `[Title ]`: Title of the search result. - - `[Title ]`: Solution sections title. - -`TRIGGERCRITERION `: Solution request trigger criteria - - `[Name ]`: Trigger criterion name. - - `[Value ]`: Trigger criterion value. - ## RELATED LINKS diff --git a/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpDiscoverySolution.md b/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpDiscoverySolution.md index 5a8990ae4919..0ed9b409fa91 100644 --- a/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpDiscoverySolution.md +++ b/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpDiscoverySolution.md @@ -1,7 +1,7 @@ ### Example 1: Get Solution Metadata by resource id ```powershell - Get-AzSelfHelpDiscoverySolution -Scope "subscriptions/6bded6d5-a6df-44e1-96d3-bf71f6f5f8ba/resourceGroups/test-rgName/providers/Microsoft.KeyVault/vaults/testKeyVault" -Filter "problemClassificationId eq '1ddda5b4-cf6c-4d4f-91ad-bc38ab0e811e'" +Get-AzSelfHelpDiscoverySolution -Filter "ProblemClassificationId eq 'a5db90c3-f147-bce6-83b0-ab5e0aeca1f0'" ``` ```output diff --git a/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpSimplifiedSolution.md b/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpSimplifiedSolution.md new file mode 100644 index 000000000000..2ee2d19bb4b3 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpSimplifiedSolution.md @@ -0,0 +1,16 @@ +### Example 1: Get Simplified Solutions +```powershell +$resourceName = "sampleRName" + +Get-AzSelfHelpSimplifiedSolution -Scope "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/aits-data-inestion/providers/Microsoft.KeyVault/vaults/kv-akshayko519290291381" -SResourceName $resourceName +``` + +```output +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- +sampleRName aits-data-inestion +``` + +Get the simplified Solutions using the applicable solutionResourceName while creating the simplified Solutions. + + diff --git a/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpSolution.md b/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpSolution.md index e7a62089d0cc..a88402ab74c9 100644 --- a/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpSolution.md +++ b/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpSolution.md @@ -1,12 +1,12 @@ ### Example 1: Get-AzSelfHelpSolution by resource id ```powershell -Get-AzSelfHelpSolution -ResourceName test-resource -Scope /subscriptions//resourceGroups/testRG/providers/Microsoft.KeyVault/testkv/testDB +Get-AzSelfHelpSolution -ResourceName test-resource234 -Scope /subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/DiagnosticsRp-Ev2AssistId-Public-Dev/providers/Microsoft.KeyVault/vaults/DiagRp-Ev2PublicDev ``` ```output -Location Name ResourceGroupName --------- ---- ----------------- - test-resource testRG +Location Name ResourceGroupName +-------- ---- ----------------- + test-resource234 DiagnosticsRp-Ev2AssistId-Public-Dev ``` Get SelfHelp Solution by resource id \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpSolutionSelfHelp.md b/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpSolutionSelfHelp.md new file mode 100644 index 000000000000..43b086cfaabd --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/examples/Get-AzSelfHelpSolutionSelfHelp.md @@ -0,0 +1,12 @@ +### Example 1: Get Self Help Solutions for a given solutionId +```powershell +Get-AzSelfHelpSolutionSelfHelp -SolutionId "apollo-48996ff7-002f-47c1-85b2-df138843d5d5" +``` + +```output +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- +apollo-48996ff7-002f-47c1-85b2-df138843d5d5 +``` + +Gets Self Help Solutions for a given solutionId. Self Help Solutions consist of rich instructional video tutorials, links and guides to public documentation related to a specific problem that enables users to troubleshoot Azure issues. diff --git a/src/SelfHelp/SelfHelp.Autorest/examples/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.md b/src/SelfHelp/SelfHelp.Autorest/examples/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.md new file mode 100644 index 000000000000..e3a0360f25b1 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/examples/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.md @@ -0,0 +1,11 @@ +### Example 1: Discover Solution using natural language at subscription scope +```powershell +Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope -SubscriptionId "6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba" -IssueSummary "Billing Issues" +``` + +```output +[No output] +``` + +Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue summary and subscription. + diff --git a/src/SelfHelp/SelfHelp.Autorest/examples/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.md b/src/SelfHelp/SelfHelp.Autorest/examples/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.md new file mode 100644 index 000000000000..ee4eac47d321 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/examples/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.md @@ -0,0 +1,11 @@ +### Example 1: Discover Solution using natural language at tenant scope +```powershell +Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope -IssueSummary "Billing Issues" +``` + +```output +[No output] +``` + +Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue summary. + diff --git a/src/SelfHelp/SelfHelp.Autorest/examples/Invoke-AzSelfHelpWarmSolutionUp.md b/src/SelfHelp/SelfHelp.Autorest/examples/Invoke-AzSelfHelpWarmSolutionUp.md new file mode 100644 index 000000000000..46ad661d2088 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/examples/Invoke-AzSelfHelpWarmSolutionUp.md @@ -0,0 +1,16 @@ +### Example 1: Warm up the solution resource +```powershell +$resourceName = "sampleRName" +$parameters = [ordered]@{ + "ProductId" = "13491" +} +Invoke-AzSelfHelpWarmSolutionUp -Scope "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/aits-data-inestion/providers/Microsoft.KeyVault/vaults/kv-akshayko519290291381" -SolutionResourceName $resourceName -Parameter $parameters +``` + +```output +[No output] +``` + +Warm up the solution resource by preloading asynchronous diagnostics results into cache + + diff --git a/src/SelfHelp/SelfHelp.Autorest/examples/New-AzSelfHelpSimplifiedSolution.md b/src/SelfHelp/SelfHelp.Autorest/examples/New-AzSelfHelpSimplifiedSolution.md new file mode 100644 index 000000000000..f0081c34efaa --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/examples/New-AzSelfHelpSimplifiedSolution.md @@ -0,0 +1,21 @@ +### Example 1: Create a new simplified solution for a resource +```powershell +$resourceName = "sampleRName" +$solutionId = "9004345-7759" +$parameters = [ordered]@{ + + "SearchText" = "Billing" +} +New-AzSelfHelpSimplifiedSolution -Scope "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/aits-data-inestion/providers/Microsoft.KeyVault/vaults/kv-akshayko519290291381" -SResourceName $resourceName -SolutionId $solutionId -Parameter $parameters +``` + +```output +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- +sampleRName + +``` + +Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions as the input. + + diff --git a/src/SelfHelp/SelfHelp.Autorest/examples/New-AzSelfHelpSolution.md b/src/SelfHelp/SelfHelp.Autorest/examples/New-AzSelfHelpSolution.md index 9bb1c92d8dcc..781d6d5f2253 100644 --- a/src/SelfHelp/SelfHelp.Autorest/examples/New-AzSelfHelpSolution.md +++ b/src/SelfHelp/SelfHelp.Autorest/examples/New-AzSelfHelpSolution.md @@ -1,20 +1,21 @@ ### Example 1: Create New SelfHelp Solution ```powershell -$criteria = [ordered]@{ - "name" ="SolutionId" - "value" = "keyvault-lostdeletedkeys-apollo-solution" -} -$parameters = [ordered]@{ - "SearchText" = "Can not RDP" - "vault_name" = "DemoKeyvault" -} -New-AzSelfHelpSolution -ResourceName test-resource -Scope /subscriptions//resourceGroups/testRG/providers/Microsoft.KeyVault/kv/testDB -Parameter $parameters -TriggerCriterion $criteria +$criteria = [ordered]@{ + "name" ="SolutionId" + "value" = "apollo-cognitve-search-custom-skill" +} + +$parameters = [ordered]@{ + "SearchText" = "Can not Search" +} + +New-AzSelfHelpSolution -ResourceName test-resource234 -Scope /subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/DiagnosticsRp-Ev2AssistId-Public-Dev/providers/Microsoft.KeyVault/vaults/DiagRp-Ev2PublicDev -Parameter $parameters -TriggerCriterion $criteria ``` ```output -Location Name ResourceGroupName --------- ---- ----------------- - test-resource testRg +Location Name ResourceGroupName +-------- ---- ----------------- + test-resource234 DiagnosticsRp-Ev2AssistId-Public-Dev ``` Creates a SelfHelp Solution for a resource. \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/examples/Update-AzSelfHelpSolution.md b/src/SelfHelp/SelfHelp.Autorest/examples/Update-AzSelfHelpSolution.md index 2836e7b0204c..ecd983cc5d73 100644 --- a/src/SelfHelp/SelfHelp.Autorest/examples/Update-AzSelfHelpSolution.md +++ b/src/SelfHelp/SelfHelp.Autorest/examples/Update-AzSelfHelpSolution.md @@ -1,20 +1,19 @@ ### Example 1: Update the Solution Resource ```powershell $parameters = [ordered]@{ - "SearchText" = "Can not RDP" - "vault_name" = "DemoKeyvault" + "SearchText" = "Can not Search" } $criteria = [ordered]@{ "name" =" ReplacementKey" "value" = "" } -Update-AzSelfHelpSolution -ResourceName test-resource -Scope /subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/DiagnosticsRp-Ev2AssistId-Public-Dev/providers/Microsoft.KeyVault/vaults/DiagRp-Ev2PublicDev -Parameter $parameters -TriggerCriterion $criteria +Update-AzSelfHelpSolution -ResourceName test-resource234 -Scope /subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourceGroups/DiagnosticsRp-Ev2AssistId-Public-Dev/providers/Microsoft.KeyVault/vaults/DiagRp-Ev2PublicDev -Parameter $parameters -TriggerCriterion $criteria ``` ```output -Location Name ResourceGroupName --------- ---- ----------------- - test-resource testRg +Location Name ResourceGroupName +-------- ---- ----------------- + test-resource234 DiagnosticsRp-Ev2AssistId-Public-Dev ``` Updates the requiredInputs or additional information needed to execute the solution \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/resources/README.md b/src/SelfHelp/SelfHelp.Autorest/resources/README.md index 937f07f8fec2..736492341e3d 100644 --- a/src/SelfHelp/SelfHelp.Autorest/resources/README.md +++ b/src/SelfHelp/SelfHelp.Autorest/resources/README.md @@ -1,5 +1,5 @@ # Resources -This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `../custom` folder. ## Info - Modifiable: yes diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiagnostic.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiagnostic.Recording.json new file mode 100644 index 000000000000..c653bd9756c3 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiagnostic.Recording.json @@ -0,0 +1,86 @@ +{ + "Get-AzSelfHelpDiagnostic+[NoContext]+Get+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/ejhfwn3krg?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/ejhfwn3krg?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"insights\": [\n {\n \"solutionId\": \"Demo2InsightV2\"\n }\n ]\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "104" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Diagnostics/ejhfwn3krg/operationResults/2eb92961-0702-454e-ac02-3a4e891883ae?api-version=2024-03-01-preview\u0026t=638479465631905706\u0026c=MIIHHjC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4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=Rs4mVOqc9S7fNgqEAlEJJcY5IjfDNX7gMHGyHuqjE-aGTwKzv8A2lpK3tTGukq0rhA3tk56IvJtaiZNLS_Kxg4MogCeoCJm7eKBFm1nKB6PuVOnthDVVnI3MYuj81CUHA3BZt0iH6mb7cCphLZ75gxVmfoV6dPuQ7Tt35Rye-ijlN0fyiU940hmYx0CEksjZ2OysyMvWcovh2p72lNuqrMFwFnNALbJMqn7Xj6W41KmC_NS6iArhxxce4sCWkCsZ49Kg3IsDLIYAsQruzLDvVxkjT2FrOgB0-HTVlAIUA1oyoSTGmqQFGFSWGZTmp3f5S2_Q8U_Djoen84LdbPQe2g\u0026h=y_XU3ALuv-AAASE9Dq7qOf7LLyRFM6f78L2G-PC1HJw" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "74" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Diagnostics/ejhfwn3krg/operationResults/2eb92961-0702-454e-ac02-3a4e891883ae?api-version=2024-03-01-preview\u0026t=638479465631905706\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAx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sqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=Rs4mVOqc9S7fNgqEAlEJJcY5IjfDNX7gMHGyHuqjE-aGTwKzv8A2lpK3tTGukq0rhA3tk56IvJtaiZNLS_Kxg4MogCeoCJm7eKBFm1nKB6PuVOnthDVVnI3MYuj81CUHA3BZt0iH6mb7cCphLZ75gxVmfoV6dPuQ7Tt35Rye-ijlN0fyiU940hmYx0CEksjZ2OysyMvWcovh2p72lNuqrMFwFnNALbJMqn7Xj6W41KmC_NS6iArhxxce4sCWkCsZ49Kg3IsDLIYAsQruzLDvVxkjT2FrOgB0-HTVlAIUA1oyoSTGmqQFGFSWGZTmp3f5S2_Q8U_Djoen84LdbPQe2g\u0026h=y_XU3ALuv-AAASE9Dq7qOf7LLyRFM6f78L2G-PC1HJw" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "25a6fd80-d348-423d-ae13-ad274fbfc5ca" ], + "x-ms-correlation-request-id": [ "25a6fd80-d348-423d-ae13-ad274fbfc5ca" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204243Z:25a6fd80-d348-423d-ae13-ad274fbfc5ca" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 6749B66158CB43EDB6517416E608B8E4 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:42:42Z" ], + "Date": [ "Fri, 05 Apr 2024 20:42:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "346" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/ejhfwn3krg\",\"name\":\"ejhfwn3krg\",\"type\":\"Microsoft.Help/Diagnostics\",\"properties\":{\"provisioningState\":\"Running\",\"acceptedAt\":\"2024-04-05T20:42:43.1582214Z\"}}", + "isContentBase64": false + } + }, + "Get-AzSelfHelpDiagnostic+[NoContext]+Get+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/ejhfwn3krg?api-version=2024-03-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/ejhfwn3krg?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "112845a1-541d-4332-a6ab-ed35c9a3eeac" ], + "CommandName": [ "Get-AzSelfHelpDiagnostic" ], + "FullCommandName": [ "Get-AzSelfHelpDiagnostic_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "9211382c-85eb-487f-8472-1a5e315e6636" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "74" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "9211382c-85eb-487f-8472-1a5e315e6636" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204244Z:9211382c-85eb-487f-8472-1a5e315e6636" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: F65164E420064ADF9F81E3FD725C9B2B Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:42:43Z" ], + "Date": [ "Fri, 05 Apr 2024 20:42:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2289" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/ejhfwn3krg\",\"name\":\"ejhfwn3krg\",\"type\":\"Microsoft.Help/Diagnostics\",\"properties\":{\"provisioningState\":\"Succeeded\",\"acceptedAt\":\"2024-04-05T20:42:43.1582214Z\",\"diagnostics\":[{\"solutionId\":\"Demo2InsightV2\",\"status\":\"Succeeded\",\"insights\":[{\"id\":\"perfinsights-available-linux\",\"title\":\"Windows Unable to Boot Test hardcoded string for unknown resource (Demo Insight)\",\"results\":\"\u003c!--issueDescription--\u003e\\n\u003cp\u003eWe have detected that PerfInsights is already installed on your VM. You can run PerfInsights on-demand through the Portal and view reports for your analysis.\u003c/p\u003e\\n\u003c!--/issueDescription--\u003e\\n\u003cp\u003ePerfInsights is a diagnostics tool that can help you analyze operating system level metrics such as:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003eBest Practices recommendations for Linux\u003c/li\u003e\\n\u003cli\u003eTop CPU consumers\u003c/li\u003e\\n\u003cli\u003eTop Memory consumers\u003c/li\u003e\\n\u003cli\u003eStorage/RAID/LVM layout\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch2\u003e\u003cstrong\u003eRecommended Steps\u003c/strong\u003e\u003c/h2\u003e\\n\u003cp\u003e\u003ca data-blade=\\\"Microsoft_Azure_Compute.PerformanceDiagnosticsBlade.resourceId.$resourceId\\\" button-data-blade=\\\"button-data-blade\\\"\u003eRun PerfInsights\u003c/a\u003e\u003c/p\u003e\\n\u003cp\u003eFor the machine \u003c!--$vmname--\u003e[vmname]\u003c!--/$vmname--\u003e, you can \u003ca href=\\\"https://portal.azure.com/#@microsoft.onmicrosoft.com/resource/{$resourceIdDecoded}/performanceDiagnostics\\\"\u003eaccess PerfInsights here\u003c/a\u003e and review results directly in the Azure portal.\u003c/p\u003e\\n\u003cp\u003eYou may also \u003ca href=\\\"https://docs.microsoft.com/azure/virtual-machines/troubleshooting/performance-diagnostics#install-and-run-performance-diagnostics-on-your-vm\\\"\u003edownload PerfInsights\u003c/a\u003e and run it on your virtual machine.\u003c/p\u003e\\n\u003cp\u003eIf you open a support case, attach the PerfInsights report for the Support Engineer to analyze.\u003c/p\u003e\\n\u003ch2\u003e\u003cstrong\u003eRecommended Documents\u003c/strong\u003e\u003c/h2\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/virtual-machines/troubleshooting/how-to-use-perfinsights\\\"\u003eHow to use PerfInsights\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-performance-bottlenecks-linux\\\"\u003eTroubleshoot performance and isolate bottlenecks in Linux\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\",\"importanceLevel\":\"Warning\"}]}]}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiscoverySolution.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiscoverySolution.Recording.json index d2422440307c..0706e69fc547 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiscoverySolution.Recording.json +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiscoverySolution.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzSelfHelpDiscoverySolution+[NoContext]+List+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/l1ca7pfg5b/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/discoverySolutions?api-version=2023-09-01-preview\u0026$filter=ProblemClassificationId eq \u0027a5db90c3-f147-bce6-83b0-ab5e0aeca1f0\u0027+1": { + "Get-AzSelfHelpDiscoverySolution+[NoContext]+List+$GET+https://management.azure.com/providers/Microsoft.Help/discoverySolutions?api-version=2024-03-01-preview\u0026$filter=ProblemClassificationId eq \u0027a5db90c3-f147-bce6-83b0-ab5e0aeca1f0\u0027+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/l1ca7pfg5b/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/discoverySolutions?api-version=2023-09-01-preview\u0026$filter=ProblemClassificationId%20eq%20\u0027a5db90c3-f147-bce6-83b0-ab5e0aeca1f0\u0027", + "RequestUri": "https://management.azure.com/providers/Microsoft.Help/discoverySolutions?api-version=2024-03-01-preview\u0026$filter=ProblemClassificationId%20eq%20\u0027a5db90c3-f147-bce6-83b0-ab5e0aeca1f0\u0027", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "f8975f7e-657f-47af-ab6b-a0ec9dc5fc5e" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "09ba3e04-143f-4aac-a475-347f79690069" ], "CommandName": [ "Get-AzSelfHelpDiscoverySolution" ], "FullCommandName": [ "Get-AzSelfHelpDiscoverySolution_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v9.0.1", "PSVersion/v7.2.14", "Az.SelfHelp/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -23,23 +23,23 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Vary": [ "Accept-Encoding" ], - "x-ms-request-id": [ "d773b455-0455-41f3-abf3-92ad53cb9c5b" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "5a66693d-fdf0-47ec-b05d-062a7a37592d" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d773b455-0455-41f3-abf3-92ad53cb9c5b" ], - "x-ms-routing-request-id": [ "EASTUS:20230929T174138Z:d773b455-0455-41f3-abf3-92ad53cb9c5b" ], + "x-ms-correlation-request-id": [ "5a66693d-fdf0-47ec-b05d-062a7a37592d" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204259Z:5a66693d-fdf0-47ec-b05d-062a7a37592d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 53E9D65E75E543E3B3E7A2BE85A57B2C Ref B: BN1AA2051014029 Ref C: 2023-09-29T17:41:38Z" ], - "Date": [ "Fri, 29 Sep 2023 17:41:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4F1C4B97D0CB4F56B41B013E3F63C10D Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:42:59Z" ], + "Date": [ "Fri, 05 Apr 2024 20:42:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "704" ], + "Content-Length": [ "545" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/l1ca7pfg5b/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/discoverySolutions/a5db90c3-f147-bce6-83b0-ab5e0aeca1f0\",\"name\":\"a5db90c3-f147-bce6-83b0-ab5e0aeca1f0\",\"type\":\"Microsoft.Help/discoverySolutions\",\"properties\":{\"solutions\":[{\"solutionId\":\"apollo-storage-blob-archiving\",\"solutionType\":\"Solutions\",\"description\":\"Řešení potíží s přesunem dat do archivní úrovně\"},{\"solutionId\":\"StorageAccountTierInsight\",\"solutionType\":\"Diagnostics\",\"description\":\"Diagnostic to show which tiers a storage account supports for.\",\"requiredInputs\":[\"SapId\",\"ResourceUri\"]}]}}]}", + "Content": "{\"value\":[{\"id\":\"/providers/Microsoft.Help/discoverySolutions/a5db90c3-f147-bce6-83b0-ab5e0aeca1f0\",\"name\":\"a5db90c3-f147-bce6-83b0-ab5e0aeca1f0\",\"type\":\"Microsoft.Help/discoverySolutions\",\"properties\":{\"solutions\":[{\"solutionId\":\"apollo-storage-blob-archiving\",\"solutionType\":\"Solutions\",\"description\":\"Resolve issues moving data to archive tier\"},{\"solutionId\":\"StorageAccountTierInsight\",\"solutionType\":\"Diagnostics\",\"description\":\"Diagnostic to show which tiers a storage account supports for.\",\"requiredInputs\":[\"SapId\",\"ResourceUri\"]}]}}]}", "isContentBase64": false } } diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiscoverySolution.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiscoverySolution.Tests.ps1 index 6f1cca282d37..bd8adb45220d 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiscoverySolution.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpDiscoverySolution.Tests.ps1 @@ -4,6 +4,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSelfHelpDiscoverySoluti if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } + . ($loadEnvPath) $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzSelfHelpDiscoverySolution.Recording.json' $currentPath = $PSScriptRoot @@ -14,10 +15,10 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSelfHelpDiscoverySoluti . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzSelfHelpDiscoverySolution' { +Describe 'Get-AzSelfHelpDiscoverySolution' -Tag 'LiveOnly'{ It 'List' { { - Get-AzSelfHelpDiscoverySolution -Scope $env.scope -Filter "ProblemClassificationId eq 'a5db90c3-f147-bce6-83b0-ab5e0aeca1f0'" + Get-AzSelfHelpDiscoverySolution -Filter "ProblemClassificationId eq 'a5db90c3-f147-bce6-83b0-ab5e0aeca1f0'" } | Should -Not -Throw } -} +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSimplifiedSolution.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSimplifiedSolution.Recording.json new file mode 100644 index 000000000000..c67b7f055b67 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSimplifiedSolution.Recording.json @@ -0,0 +1,174 @@ +{ + "Get-AzSelfHelpSimplifiedSolution+[NoContext]+Get+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"solutionId\": \"9004345-7759\",\n \"parameters\": {\n \"SearchText\": \"Billing\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "115" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o/operationResults/7254c86a-daa3-4ee3-aaff-f2efe48f1e8e?api-version=2024-03-01-preview\u0026t=638479465954737490\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtGcrVIgwMRo8mtAqJbl-t1oT9_g6iTDwGRm2XP9UklUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgw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aining-subscription-resource-requests": [ "499" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o/operationResults/7254c86a-daa3-4ee3-aaff-f2efe48f1e8e?api-version=2024-03-01-preview\u0026t=638479465954580457\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtGcrVIgwMRo8mtAqJbl-t1oT9_g6iTDwGRm2XP9UklUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQU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MENBJTIwMDEoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD4mRGDGmDi9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=ViOJ59INKFGm3qKJQ7Q0R8PbQ-yxgdh2CqRcamXUMK6srmC66bI82VuDcIlT0iitSa1e_P9QFJ3dlgoD3nlSepuO8xfB5ttu2jGfFDHjlGkI8_ZzVWAI8dcZyalTqx-Wvef6oYcmPNZjpvtWQgw1H5HfIKem2SrR2_hA9xekSn9UFYEiNZVoARj_Fks9Ln8IcgvhhRHmKyleMG6BUfe_J-4da5j9Ia9fUTU7S-VZqt8QKjqjTHLwmThxXYoUIqUZB1Sik1AYpTYnyAC-XeniOhajLLouo9XOWTZ607Lh2zgtPr7AO3vvEnD48OC7fDeEn_gOgXWORoJaUZegS13H7g\u0026h=hIsKlymJkHXICvjZBQxZB3H17SLOdJ7g9klrucir9LE" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "64e55c83-ae50-4e43-8f72-bd55b12f4800" ], + "x-ms-correlation-request-id": [ "64e55c83-ae50-4e43-8f72-bd55b12f4800" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204315Z:64e55c83-ae50-4e43-8f72-bd55b12f4800" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 8E764B549DE7426E8829AA07AA4B552C Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:43:14Z" ], + "Date": [ "Fri, 05 Apr 2024 20:43:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "21281" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o\",\"name\":\"zmw3l2xp7o\",\"type\":\"Microsoft.Help/simplifiedSolutions\",\"properties\":{\"title\":\"Catch-all: Microsoft Graph API issues\",\"content\":\"\u003ch2\u003eTroubleshoot issues with the Microsoft Graph API\u003c/h2\u003e\\n\u003cp\u003e\u003cstrong\u003eNotice:\u003c/strong\u003e Azure Active Directory (Azure AD) is being renamed to Microsoft Entra ID. No customer action is required. Capabilities, licensing, pricing, service level agreements, APIs, authentication and developer experiences are not impacted. \u003ca href=\\\"https://learn.microsoft.com/azure/active-directory/fundamentals/new-name\\\"\u003eLearn more\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eUse the following guidance to troubleshoot Microsoft Graph API issues, including issues related to authentication, authorization, and API. You\u0027ll also find information about the end of support for Azure AD Authentication Library (ADAL) and Azure AD Graph API.\u003c/p\u003e\\n\u003cp\u003eScan the following headings and select one or more that will help resolve your issue.\u003c/p\u003e\\n\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eEnd of support for Azure AD Graph API and Azure Active Directory Authentication Library\u003c/h2\u003e\u003ch3\u003eAzure Active Directory Graph API deprecation\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eAzure AD Graph APIs will be retired by March 30, 2024.\u003c/em\u003e See \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270\\\"\u003eImportant: Azure AD Graph Retirement and Powershell Module Deprecation\u003c/a\u003e. We want to make sure that all customers migrate off and discourage applications from taking production dependencies on Azure AD Graph. Investments in the new features and functionalities will be made only to \u003ca href=\\\"https://learn.microsoft.com/graph/overview\\\"\u003eMicrosoft Graph\u003c/a\u003e. Going forward, we\u0027ll continue to support Azure AD Graph with security-related fixes.\u003c/p\u003e\\n\u003cp\u003eWe recommend prioritizing migration from Azure AD Graph to Microsoft Graph. For more information, see \u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-overview\\\"\u003eMigrate Azure AD Graph apps to Microsoft Graph - Microsoft Graph | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eMicrosoft Entra ID and MSOnline PowerShell deprecation\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eMicrosoft Entra ID, Microsoft Entra ID Preview, and MSOnline PowerShell cmdlets will be retired by March 30, 2024 See \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270\\\"\u003eImportant: Azure AD Graph Retirement and Powershell Module Deprecation\u003c/a\u003e.\u003c/em\u003e The three modules will continue to work with minimal investment, apart from security updates.\u003c/p\u003e\\n\u003cp\u003eWe encourage you to continue migrating to The Microsoft Graph PowerShell SDK because that continues to be where all our current and future PowerShell investments are being made. We\u0027re also working on tools and documentation for migrating existing scripts and PowerShell processes that rely on the Azure AD Graph and MSOnline module to the Microsoft Graph PowerShell SDK.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://learn.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0\\\"\u003eFind Microsoft Entra ID and MSOnline cmdlets in Microsoft Graph PowerShell | Microsoft Docs\u003c/a\u003e and \u003ca href=\\\"https://learn.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0\\\"\u003eMigrate from Azure AD PowerShell to the Microsoft Graph PowerShell SDK | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eAzure Active Directory Authentication Library retirement\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eAzure Active Directory Authentication Library (ADAL) end-of-support is on June 30, 2023\u003c/em\u003e. While existing ADAL apps may continue to work, no support or security fixes will be provided past end-of-life. In addition, there are no planned ADAL releases prior to end-of-life for features, or planned support for new platform versions.\u003c/p\u003e\\n\u003cp\u003eWe recommend prioritizing the migration of your applications to Microsoft Authentication Library (MSAL). For more information about ADAL to MSAL migration, see \u003ca href=\\\"https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-migration\\\"\u003eMigrate to the Microsoft Authentication Library - Microsoft Entra | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/microsoft-entra-change-announcements-september-2022-train/ba-p/2967454\\\"\u003eSeptember 2022 change announcements\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eVideos: Migrating from Azure AD Graph to Microsoft Graph\u003c/h3\u003e\\n\u003cp\u003eThe following videos explain more about migrating from Azure AD Graph to Microsoft Graph.\u003c/p\u003e\\n\u003cdiv class=\\\"simplified-solution-video-group-container\\\"\\\"\u003e\u003cdiv class=\\\"simplified-solution-video-container\\\"\u003e \u003ciframe class=\\\"simplified-solution-video-group-iframe\\\"\\\" id=\\\"\\\" src=\\\"https://www.youtube-nocookie.com/embed/iKK-F2PyoQU?enablejsapi=1\u0026rel=0 title=\\\"How to migrate from Azure AD Graph to Microsoft Graph\\\"\\\" frameborder=\\\"0\\\" allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003cbr/\u003e\u003cdiv class=\\\"simplified-solution-video-container\\\"\u003e \u003ciframe class=\\\"simplified-solution-video-group-iframe\\\"\\\" id=\\\"\\\" src=\\\"https://www.youtube-nocookie.com/embed/oiXMv0xoH1s?enablejsapi=1\u0026rel=0 title=\\\"How to migrate from Azure AD Graph and MSOL PowerShell to MS Graph PowerShell\\\"\\\" frameborder=\\\"0\\\" allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003cbr/\u003e\u003c/div\u003e\\n\u003cbr /\u003e\u003c/div\u003e\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eTroubleshoot Microsoft Graph API issues\u003c/h2\u003e\u003cp\u003eUse the following troubleshooting guidance to resolve Microsoft Graph API issues.\u003c/p\u003e\\n\u003ch3\u003eAzure AD Graph migration\u003c/h3\u003e\\n\u003cp\u003eFor applications using Azure AD Graph, see \u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-overview\\\"\u003emigrate Azure AD Graph apps to Microsoft Graph\u003c/a\u003e.\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eStart with the \u003ca href=\\\"https://docs.microsoft.com/graph/migrate-azure-ad-graph-planning-checklist\\\"\u003eapp migration planning checklist\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYour Azure app registration portal shows which applications use Azure AD Graph.\u003c/li\u003e\\n\u003cli\u003eReview your apps source code, and if applicable, contact independent software vendors (ISVs) or app providers. Microsoft support can provide a list of Azure AD Graph usage in your tenant.\u003c/li\u003e\\n\u003cli\u003eIf you\u0027re having issues, post a question on \u003ca href=\\\"https://learn.microsoft.com/en-us/answers/topics/azure-ad-graph-deprecation.html\\\"\u003eMicrosoft Q\u0026amp;A\u003c/a\u003e and tag it with \u003ccode\u003eazure-ad-graph-deprecation\u003c/code\u003e, or post your question on \u003ca href=\\\"https://stackoverflow.com/questions/ask\\\"\u003eStackOverflow\u003c/a\u003e with the \u003ccode\u003eazureadgraph-deprecation\u003c/code\u003e tag.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003cp\u003eReview the following resources for more information:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-faq\\\"\u003eAzure AD Graph to Microsoft Graph migration frequently asked questions\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/application-dev-registration-config-grant-permissions-how-to/?WT.mc_id=UI_AAD_Registered_Apps_Support_L2_Overview\\\"\u003eConfigure how users consent to applications\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/application-dev-delegated-and-app-perms/?WT.mc_id=UI_AAD_Registered_Apps_Support_L2_Overview\\\"\u003eHow to recognize differences between delegated and application permissions\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003e\u003cstrong\u003eUpgrade from Microsoft Entra ID and MSOnline PowerShell to Microsoft Graph PowerShell\u003c/strong\u003e\u003c/p\u003e\\n\u003cp\u003e\u003cstrong\u003eMicrosoft Entra ID, Microsoft Entra ID Preview, and MSOnline PowerShell modules are planned for deprecation. Microsoft Graph PowerShell is the PowerShell module to use for interacting with Microsoft Entra ID and other Microsoft services.\u003c/strong\u003e\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#why-upgrade-to-microsoft-graph-powershell\\\"\u003eWhy upgrade to Microsoft Graph PowerShell?\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#upgrading-to-microsoft-graph-powershell\\\"\u003eSteps to follow when upgrading to MS Graph PowerShell\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#limitations\\\"\u003eLimitations\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003e\u003cstrong\u003eCmdlet mappings from Microsoft Entra ID and MSOnline PowerShell modules to MS Graph PowerShell module\u003c/strong\u003e\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0#azure-ad-to-microsoft-graph-powershell-by-category\\\"\u003eMicrosoft Entra ID to Microsoft Graph PowerShell by category\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0#msonline-to-microsoft-graph-powershell\\\"\u003eMSOnline to Microsoft Graph PowerShell\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eAuthentication or authorization issues\u003c/h3\u003e\\n\u003cp\u003eSee the following resources to resolve authentication or authorization issues:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003cp\u003eAuthorization errors can occur for several reasons, most of which generate a 403 error, with a few exceptions. For example, the following scenarios can lead to authorization errors:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-authentication-scenarios\\\"\u003eIncorrect access token acquisition flows\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-v2-scopes\\\"\u003ePoorly configured permission scopes\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-devhowto-multi-tenant-overview#understanding-user-and-admin-consent\\\"\u003eLack of consent\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-permissions-and-consent\\\"\u003eLack of permissions\u003c/a\u003e \u003cbr\u003e\\nFor more information, see \u003ca href=\\\"https://docs.microsoft.com/graph/resolve-auth-errors\\\"\u003eResolve Microsoft Graph authorization errors\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eLearn how to implement the OAuth 2.0 authorization code grant flow. See \u003ca href=\\\"https://docs.microsoft.com/graph/auth-v2-user\\\"\u003eGet access on behalf of a user\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eLearn how to program directly against the code grant (PKCE) flow in your application using any language, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow\\\"\u003eMicrosoft identity platform and OAuth 2.0 authorization code flow\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eConfigure a service and use the OAuth client credentials grant flow to get an access token. See \u003ca href=\\\"https://docs.microsoft.com/graph/auth-v2-service\\\"\u003eGet access without a user\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eProgram directly against the client credentials flow in your application. See \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow\\\"\u003eMicrosoft identity platform and the OAuth 2.0 client credentials flow\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eProgram directly against the resource owner password credential (ROPC) flow in your application. See \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth-ropc\\\"\u003eMicrosoft identity platform and OAuth 2.0 resource owner password credentials\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eThe Microsoft identity platform only supports ROPC for Microsoft Entra tenants, not personal accounts. This means that you must use a tenant-specific endpoint, for example, \u0026quot;//login.microsoftonline.com/{TenantId_or_Name}\u0026quot; or the \u003cem\u003eorganization\u0027s\u003c/em\u003e endpoint.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003ePersonal accounts that are invited to a Microsoft Entra tenant can\u0027t use ROPC.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eAccounts that don\u0027t have passwords can\u0027t sign in through ROPC. In this case, we recommend using a different flow for your app.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eIf users need to use \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/authentication/concept-mfa-howitworks\\\"\u003emultifactor authentication (MFA)\u003c/a\u003e to sign in to the application, they\u0027ll be blocked instead.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eROPC is not supported in \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/hybrid/whatis-fed\\\"\u003ehybrid identity federation\u003c/a\u003e scenarios. For example, Microsoft Entra ID and Active Directory Federation Services (AD FS) previously authenticated on-premises accounts. If users are full-page redirected to an on-premises identity provider, Microsoft Entra ID is not able to test the username and password against that identity provider. \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/hybrid/how-to-connect-pta\\\"\u003ePass-through authentication\u003c/a\u003e is supported with ROPC, however.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eAn exception to a hybrid identity federation scenario would be the following: home realm discovery (HRD) policy with \u003ccode\u003eAllowCloudPasswordValidation\u003c/code\u003e set to \u003ccode\u003eTRUE\u003c/code\u003e will enable ROPC flow to work for federated users when the on-premises password is synced to the cloud. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/manage-apps/configure-authentication-for-federated-users-portal#enable-direct-ropc-authentication-of-federated-users-for-legacy-applications\\\"\u003eEnable direct ROPC authentication of federated users for legacy applications\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eQuery data from API\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eMicrosoft Graph supports optional query parameters you can use to specify and control the amount of data returned in a response. The support for the exact query parameters varies from one API operation to another, and depending on the API, can differ between the v1.0 and beta endpoints. See \u003ca href=\\\"https://docs.microsoft.com/graph/query-parameters#odata-system-query-options\\\"\u003eUse query parameters to customize responses\u003c/a\u003e for more information.\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta\\\"\u003euser resource type\u003c/a\u003e. This represents a Microsoft Entra user account and inherits from directoryObject. For performance reasons, the \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-post-users?view=graph-rest-beta\\\"\u003ecreate\u003c/a\u003e, \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-get?view=graph-rest-beta\\\"\u003eget\u003c/a\u003e, and \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-list?view=graph-rest-beta\\\"\u003elist\u003c/a\u003e operations return only a subset of more commonly used properties by default. These default properties are noted in the \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta#properties\\\"\u003eproperties\u003c/a\u003e section. To get any of the properties that are not returned by default, specify them in a \u003ccode\u003e$select\u003c/code\u003e OData query option.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/attachment?view=graph-rest-1.0\\\"\u003eattachment resource type\u003c/a\u003e. You can add related content to a user event, message, or post in the form of an attachment. Attachment is the base resource for the following derived types of attachments:\\n\u003cul\u003e\\n\u003cli\u003eA file (\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/fileattachment?view=graph-rest-1.0\\\"\u003efileAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003eAn item (contact, event or message, represented by an \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/itemattachment?view=graph-rest-1.0\\\"\u003eitemAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003eA link to a file (\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/referenceattachment?view=graph-rest-1.0\\\"\u003ereferenceAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/schemaextension?view=graph-rest-1.0\\\"\u003eschemaExtension resource type (schema extensions)\u003c/a\u003e. Schema extensions allow you to define a schema to extend and add strongly typed custom data to a resource type. The custom data appears as a complex type on the extended resource. See the \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/report?view=graph-rest-1.0\\\"\u003eschema extension example\u003c/a\u003e to learn how to add custom data to groups.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eMicrosoft Graph API endpoints\u003c/h3\u003e\\n\u003cp\u003eSee the following resources for more information:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide\\\"\u003eOffice 365 URLs and IP address ranges\u003c/a\u003e - This article contains most of the endpoints for Azure and M365, including Azure and Microsoft Graph.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/overview?view=graph-rest-1.0\\\"\u003eMicrosoft Graph REST API v1.0 reference\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/overview?view=graph-rest-beta#call-the-v10-endpoint\\\"\u003eMicrosoft Graph beta endpoint reference\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eReports and logs\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eMicrosoft Entra ID tracks user activity and creates reports that help you understand how your users access and use Microsoft Entra services. Use the Microsoft Graph API for Microsoft Entra ID to analyze the data in these reports and to create custom solutions tailored to your organization\u0027s specific needs. The availability of these activity reports is governed by the Microsoft Entra data retention policies.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003eFor more information, see:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0\\\"\u003eActivity reports API overview\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/reports-monitoring/reference-reports-data-retention#how-long-does-azure-ad-store-the-data\\\"\u003eData retention policies\u003c/a\u003e.\u003cbr\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cul\u003e\\n\u003cli\u003eWith Microsoft Graph, you can access Microsoft 365 usage reports resources to get information about how people in your business are using Microsoft 365 services. For example, you can identify who\u0027s using a service a lot and reaching quotas, or who may not need a Microsoft 365 license at all, see \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/report?view=graph-rest-1.0\\\"\u003eWorking with Microsoft 365 usage reports in Microsoft Graph\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eExpose a web API\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/quickstart-configure-app-expose-web-apis\\\"\u003eQuickStart: Configure an application to expose a web API\u003c/a\u003e. In this QuickStart, register a web API with the Microsoft identity platform and expose it to client apps by adding an example scope. By registering your web API and exposing it through scopes, you can provide permission-based access to its resources to authorized users and client apps that access your API.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cbr /\u003e\u003c/div\u003e\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eCommon issues and solutions\u003c/h2\u003e\u003ch3\u003eThe API I\u0027m calling doesn\u0027t work\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eTest Microsoft Graph APIs in your tenant or a demo tenant. Also, check out the sample queries in \u003ca href=\\\"https://developer.microsoft.com/graph/graph-explorer\\\"\u003eMicrosoft Graph Explorer\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eLearn how to configure the code for your daemon application that calls web APIs, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/scenario-daemon-app-configuration?tabs=dotnet\\\"\u003eDaemon app that calls web APIs - code configuration\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eWhere can I check the status of service availability and connectivity?\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eThe service availability and connectivity of the underlying services that can be accessed through Microsoft Graph can impact on the overall availability and performance of Microsoft Graph.\\n\u003cul\u003e\\n\u003cli\u003eFor Microsoft Entra service health, check the status of \u003cstrong\u003eSecurity + Identity\u003c/strong\u003e services listed in the \u003ca href=\\\"https://azure.microsoft.com/status/\\\"\u003eAzure status page\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eFor Office services that contribute to Microsoft Graph, check the status of services listed in the \u003ca href=\\\"https://portal.office.com/adminportal/home#/servicehealth\\\"\u003eOffice Service Health Dashboard\u003c/a\u003e. Microsoft Graph authorization errors can be a result of several issues, most of which generate a 401 or 403 error.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eWhere can I find more information on errors and known issues?\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/errors\\\"\u003eMicrosoft Graph error response information\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/known-issues\\\"\u003eKnown issues with Microsoft Graph\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003cdiv class=\\\"simplified-solution-web-results-container\\\"\u003e\u003cdiv class=\\\"simplified-solution-web-result-container\\\"\u003e\u003ch5\u003eAzure Docs\u003c/h5\u003e\u003cdiv\u003e\u003ca href=\\\"https://docs.microsoft.com/en-us/azure/programmable-connectivity/azure-programmable-connectivity-billing\\\" target=\\\"_blank\\\"\u003eConsolidated Billing\u003c/a\u003e\u003c/div\u003e\u003cp\u003e...billing, enabling developers to receive a unified invoice from Azure for all their API plans, rather than managing separate bills from various operators. This streamlined approach not only reduces ...\u003c/p\u003e\u003c/div\u003e\u003cbr/\u003e\u003cdiv class=\\\"simplified-solution-web-result-container\\\"\u003e\u003ch5\u003eCommunity\u003c/h5\u003e\u003cdiv\u003e\u003ca href=\\\"https://docs.microsoft.com/answers/questions/928000/\\\" target=\\\"_blank\\\"\u003eazure billing\u003c/a\u003e\u003c/div\u003e\u003cp\u003eI was cancelled my subscription but still it is billing.\u003c/p\u003e\u003c/div\u003e\u003cbr/\u003e\u003c/div\u003e\\n\u003cbr /\u003e\u003c/div\u003e\",\"provisioningState\":\"Succeeded\",\"appendix\":{}}}", + "isContentBase64": false + } + }, + "Get-AzSelfHelpSimplifiedSolution+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o/operationResults/7254c86a-daa3-4ee3-aaff-f2efe48f1e8e?api-version=2024-03-01-preview\u0026t=638479465954580457\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCk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ZzVWAI8dcZyalTqx-Wvef6oYcmPNZjpvtWQgw1H5HfIKem2SrR2_hA9xekSn9UFYEiNZVoARj_Fks9Ln8IcgvhhRHmKyleMG6BUfe_J-4da5j9Ia9fUTU7S-VZqt8QKjqjTHLwmThxXYoUIqUZB1Sik1AYpTYnyAC-XeniOhajLLouo9XOWTZ607Lh2zgtPr7AO3vvEnD48OC7fDeEn_gOgXWORoJaUZegS13H7g\u0026h=hIsKlymJkHXICvjZBQxZB3H17SLOdJ7g9klrucir9LE+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o/operationResults/7254c86a-daa3-4ee3-aaff-f2efe48f1e8e?api-version=2024-03-01-preview\u0026t=638479465954580457\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0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gtPr7AO3vvEnD48OC7fDeEn_gOgXWORoJaUZegS13H7g\u0026h=hIsKlymJkHXICvjZBQxZB3H17SLOdJ7g9klrucir9LE", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "c506cd8a-e366-48da-bdd1-f18e6751a027" ], + "CommandName": [ "New-AzSelfHelpSimplifiedSolution" ], + "FullCommandName": [ "New-AzSelfHelpSimplifiedSolution_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e654919f-a001-4fdb-8f0a-1882a760fb83" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "e654919f-a001-4fdb-8f0a-1882a760fb83" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204345Z:e654919f-a001-4fdb-8f0a-1882a760fb83" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 894EA4A609A142D392F011B3AF0DC154 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:43:45Z" ], + "Date": [ "Fri, 05 Apr 2024 20:43:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "237" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o/operationResults/7254c86a-daa3-4ee3-aaff-f2efe48f1e8e\",\"name\":\"7254c86a-daa3-4ee3-aaff-f2efe48f1e8e\",\"status\":\"Succeeded\"}", + "isContentBase64": false + } + }, + "Get-AzSelfHelpSimplifiedSolution+[NoContext]+Get+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o?api-version=2024-03-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "c506cd8a-e366-48da-bdd1-f18e6751a027" ], + "CommandName": [ "New-AzSelfHelpSimplifiedSolution" ], + "FullCommandName": [ "New-AzSelfHelpSimplifiedSolution_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a94cf60c-2d27-453b-ac09-b1e74400abe8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "a94cf60c-2d27-453b-ac09-b1e74400abe8" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204346Z:a94cf60c-2d27-453b-ac09-b1e74400abe8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 47172C054D304C4C88EF637FBB028FCB Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:43:45Z" ], + "Date": [ "Fri, 05 Apr 2024 20:43:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "21281" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o\",\"name\":\"zmw3l2xp7o\",\"type\":\"Microsoft.Help/simplifiedSolutions\",\"properties\":{\"title\":\"Catch-all: Microsoft Graph API issues\",\"content\":\"\u003ch2\u003eTroubleshoot issues with the Microsoft Graph API\u003c/h2\u003e\\n\u003cp\u003e\u003cstrong\u003eNotice:\u003c/strong\u003e Azure Active Directory (Azure AD) is being renamed to Microsoft Entra ID. No customer action is required. Capabilities, licensing, pricing, service level agreements, APIs, authentication and developer experiences are not impacted. \u003ca href=\\\"https://learn.microsoft.com/azure/active-directory/fundamentals/new-name\\\"\u003eLearn more\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eUse the following guidance to troubleshoot Microsoft Graph API issues, including issues related to authentication, authorization, and API. You\u0027ll also find information about the end of support for Azure AD Authentication Library (ADAL) and Azure AD Graph API.\u003c/p\u003e\\n\u003cp\u003eScan the following headings and select one or more that will help resolve your issue.\u003c/p\u003e\\n\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eEnd of support for Azure AD Graph API and Azure Active Directory Authentication Library\u003c/h2\u003e\u003ch3\u003eAzure Active Directory Graph API deprecation\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eAzure AD Graph APIs will be retired by March 30, 2024.\u003c/em\u003e See \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270\\\"\u003eImportant: Azure AD Graph Retirement and Powershell Module Deprecation\u003c/a\u003e. We want to make sure that all customers migrate off and discourage applications from taking production dependencies on Azure AD Graph. Investments in the new features and functionalities will be made only to \u003ca href=\\\"https://learn.microsoft.com/graph/overview\\\"\u003eMicrosoft Graph\u003c/a\u003e. Going forward, we\u0027ll continue to support Azure AD Graph with security-related fixes.\u003c/p\u003e\\n\u003cp\u003eWe recommend prioritizing migration from Azure AD Graph to Microsoft Graph. For more information, see \u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-overview\\\"\u003eMigrate Azure AD Graph apps to Microsoft Graph - Microsoft Graph | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eMicrosoft Entra ID and MSOnline PowerShell deprecation\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eMicrosoft Entra ID, Microsoft Entra ID Preview, and MSOnline PowerShell cmdlets will be retired by March 30, 2024 See \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270\\\"\u003eImportant: Azure AD Graph Retirement and Powershell Module Deprecation\u003c/a\u003e.\u003c/em\u003e The three modules will continue to work with minimal investment, apart from security updates.\u003c/p\u003e\\n\u003cp\u003eWe encourage you to continue migrating to The Microsoft Graph PowerShell SDK because that continues to be where all our current and future PowerShell investments are being made. We\u0027re also working on tools and documentation for migrating existing scripts and PowerShell processes that rely on the Azure AD Graph and MSOnline module to the Microsoft Graph PowerShell SDK.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://learn.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0\\\"\u003eFind Microsoft Entra ID and MSOnline cmdlets in Microsoft Graph PowerShell | Microsoft Docs\u003c/a\u003e and \u003ca href=\\\"https://learn.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0\\\"\u003eMigrate from Azure AD PowerShell to the Microsoft Graph PowerShell SDK | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eAzure Active Directory Authentication Library retirement\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eAzure Active Directory Authentication Library (ADAL) end-of-support is on June 30, 2023\u003c/em\u003e. While existing ADAL apps may continue to work, no support or security fixes will be provided past end-of-life. In addition, there are no planned ADAL releases prior to end-of-life for features, or planned support for new platform versions.\u003c/p\u003e\\n\u003cp\u003eWe recommend prioritizing the migration of your applications to Microsoft Authentication Library (MSAL). For more information about ADAL to MSAL migration, see \u003ca href=\\\"https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-migration\\\"\u003eMigrate to the Microsoft Authentication Library - Microsoft Entra | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/microsoft-entra-change-announcements-september-2022-train/ba-p/2967454\\\"\u003eSeptember 2022 change announcements\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eVideos: Migrating from Azure AD Graph to Microsoft Graph\u003c/h3\u003e\\n\u003cp\u003eThe following videos explain more about migrating from Azure AD Graph to Microsoft Graph.\u003c/p\u003e\\n\u003cdiv class=\\\"simplified-solution-video-group-container\\\"\\\"\u003e\u003cdiv class=\\\"simplified-solution-video-container\\\"\u003e \u003ciframe class=\\\"simplified-solution-video-group-iframe\\\"\\\" id=\\\"\\\" src=\\\"https://www.youtube-nocookie.com/embed/iKK-F2PyoQU?enablejsapi=1\u0026rel=0 title=\\\"How to migrate from Azure AD Graph to Microsoft Graph\\\"\\\" frameborder=\\\"0\\\" allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003cbr/\u003e\u003cdiv class=\\\"simplified-solution-video-container\\\"\u003e \u003ciframe class=\\\"simplified-solution-video-group-iframe\\\"\\\" id=\\\"\\\" src=\\\"https://www.youtube-nocookie.com/embed/oiXMv0xoH1s?enablejsapi=1\u0026rel=0 title=\\\"How to migrate from Azure AD Graph and MSOL PowerShell to MS Graph PowerShell\\\"\\\" frameborder=\\\"0\\\" allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003cbr/\u003e\u003c/div\u003e\\n\u003cbr /\u003e\u003c/div\u003e\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eTroubleshoot Microsoft Graph API issues\u003c/h2\u003e\u003cp\u003eUse the following troubleshooting guidance to resolve Microsoft Graph API issues.\u003c/p\u003e\\n\u003ch3\u003eAzure AD Graph migration\u003c/h3\u003e\\n\u003cp\u003eFor applications using Azure AD Graph, see \u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-overview\\\"\u003emigrate Azure AD Graph apps to Microsoft Graph\u003c/a\u003e.\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eStart with the \u003ca href=\\\"https://docs.microsoft.com/graph/migrate-azure-ad-graph-planning-checklist\\\"\u003eapp migration planning checklist\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYour Azure app registration portal shows which applications use Azure AD Graph.\u003c/li\u003e\\n\u003cli\u003eReview your apps source code, and if applicable, contact independent software vendors (ISVs) or app providers. Microsoft support can provide a list of Azure AD Graph usage in your tenant.\u003c/li\u003e\\n\u003cli\u003eIf you\u0027re having issues, post a question on \u003ca href=\\\"https://learn.microsoft.com/en-us/answers/topics/azure-ad-graph-deprecation.html\\\"\u003eMicrosoft Q\u0026amp;A\u003c/a\u003e and tag it with \u003ccode\u003eazure-ad-graph-deprecation\u003c/code\u003e, or post your question on \u003ca href=\\\"https://stackoverflow.com/questions/ask\\\"\u003eStackOverflow\u003c/a\u003e with the \u003ccode\u003eazureadgraph-deprecation\u003c/code\u003e tag.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003cp\u003eReview the following resources for more information:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-faq\\\"\u003eAzure AD Graph to Microsoft Graph migration frequently asked questions\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/application-dev-registration-config-grant-permissions-how-to/?WT.mc_id=UI_AAD_Registered_Apps_Support_L2_Overview\\\"\u003eConfigure how users consent to applications\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/application-dev-delegated-and-app-perms/?WT.mc_id=UI_AAD_Registered_Apps_Support_L2_Overview\\\"\u003eHow to recognize differences between delegated and application permissions\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003e\u003cstrong\u003eUpgrade from Microsoft Entra ID and MSOnline PowerShell to Microsoft Graph PowerShell\u003c/strong\u003e\u003c/p\u003e\\n\u003cp\u003e\u003cstrong\u003eMicrosoft Entra ID, Microsoft Entra ID Preview, and MSOnline PowerShell modules are planned for deprecation. Microsoft Graph PowerShell is the PowerShell module to use for interacting with Microsoft Entra ID and other Microsoft services.\u003c/strong\u003e\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#why-upgrade-to-microsoft-graph-powershell\\\"\u003eWhy upgrade to Microsoft Graph PowerShell?\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#upgrading-to-microsoft-graph-powershell\\\"\u003eSteps to follow when upgrading to MS Graph PowerShell\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#limitations\\\"\u003eLimitations\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003e\u003cstrong\u003eCmdlet mappings from Microsoft Entra ID and MSOnline PowerShell modules to MS Graph PowerShell module\u003c/strong\u003e\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0#azure-ad-to-microsoft-graph-powershell-by-category\\\"\u003eMicrosoft Entra ID to Microsoft Graph PowerShell by category\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0#msonline-to-microsoft-graph-powershell\\\"\u003eMSOnline to Microsoft Graph PowerShell\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eAuthentication or authorization issues\u003c/h3\u003e\\n\u003cp\u003eSee the following resources to resolve authentication or authorization issues:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003cp\u003eAuthorization errors can occur for several reasons, most of which generate a 403 error, with a few exceptions. For example, the following scenarios can lead to authorization errors:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-authentication-scenarios\\\"\u003eIncorrect access token acquisition flows\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-v2-scopes\\\"\u003ePoorly configured permission scopes\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-devhowto-multi-tenant-overview#understanding-user-and-admin-consent\\\"\u003eLack of consent\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-permissions-and-consent\\\"\u003eLack of permissions\u003c/a\u003e \u003cbr\u003e\\nFor more information, see \u003ca href=\\\"https://docs.microsoft.com/graph/resolve-auth-errors\\\"\u003eResolve Microsoft Graph authorization errors\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eLearn how to implement the OAuth 2.0 authorization code grant flow. See \u003ca href=\\\"https://docs.microsoft.com/graph/auth-v2-user\\\"\u003eGet access on behalf of a user\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eLearn how to program directly against the code grant (PKCE) flow in your application using any language, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow\\\"\u003eMicrosoft identity platform and OAuth 2.0 authorization code flow\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eConfigure a service and use the OAuth client credentials grant flow to get an access token. See \u003ca href=\\\"https://docs.microsoft.com/graph/auth-v2-service\\\"\u003eGet access without a user\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eProgram directly against the client credentials flow in your application. See \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow\\\"\u003eMicrosoft identity platform and the OAuth 2.0 client credentials flow\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eProgram directly against the resource owner password credential (ROPC) flow in your application. See \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth-ropc\\\"\u003eMicrosoft identity platform and OAuth 2.0 resource owner password credentials\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eThe Microsoft identity platform only supports ROPC for Microsoft Entra tenants, not personal accounts. This means that you must use a tenant-specific endpoint, for example, \u0026quot;//login.microsoftonline.com/{TenantId_or_Name}\u0026quot; or the \u003cem\u003eorganization\u0027s\u003c/em\u003e endpoint.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003ePersonal accounts that are invited to a Microsoft Entra tenant can\u0027t use ROPC.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eAccounts that don\u0027t have passwords can\u0027t sign in through ROPC. In this case, we recommend using a different flow for your app.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eIf users need to use \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/authentication/concept-mfa-howitworks\\\"\u003emultifactor authentication (MFA)\u003c/a\u003e to sign in to the application, they\u0027ll be blocked instead.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eROPC is not supported in \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/hybrid/whatis-fed\\\"\u003ehybrid identity federation\u003c/a\u003e scenarios. For example, Microsoft Entra ID and Active Directory Federation Services (AD FS) previously authenticated on-premises accounts. If users are full-page redirected to an on-premises identity provider, Microsoft Entra ID is not able to test the username and password against that identity provider. \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/hybrid/how-to-connect-pta\\\"\u003ePass-through authentication\u003c/a\u003e is supported with ROPC, however.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eAn exception to a hybrid identity federation scenario would be the following: home realm discovery (HRD) policy with \u003ccode\u003eAllowCloudPasswordValidation\u003c/code\u003e set to \u003ccode\u003eTRUE\u003c/code\u003e will enable ROPC flow to work for federated users when the on-premises password is synced to the cloud. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/manage-apps/configure-authentication-for-federated-users-portal#enable-direct-ropc-authentication-of-federated-users-for-legacy-applications\\\"\u003eEnable direct ROPC authentication of federated users for legacy applications\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eQuery data from API\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eMicrosoft Graph supports optional query parameters you can use to specify and control the amount of data returned in a response. The support for the exact query parameters varies from one API operation to another, and depending on the API, can differ between the v1.0 and beta endpoints. See \u003ca href=\\\"https://docs.microsoft.com/graph/query-parameters#odata-system-query-options\\\"\u003eUse query parameters to customize responses\u003c/a\u003e for more information.\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta\\\"\u003euser resource type\u003c/a\u003e. This represents a Microsoft Entra user account and inherits from directoryObject. For performance reasons, the \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-post-users?view=graph-rest-beta\\\"\u003ecreate\u003c/a\u003e, \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-get?view=graph-rest-beta\\\"\u003eget\u003c/a\u003e, and \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-list?view=graph-rest-beta\\\"\u003elist\u003c/a\u003e operations return only a subset of more commonly used properties by default. These default properties are noted in the \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta#properties\\\"\u003eproperties\u003c/a\u003e section. To get any of the properties that are not returned by default, specify them in a \u003ccode\u003e$select\u003c/code\u003e OData query option.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/attachment?view=graph-rest-1.0\\\"\u003eattachment resource type\u003c/a\u003e. You can add related content to a user event, message, or post in the form of an attachment. Attachment is the base resource for the following derived types of attachments:\\n\u003cul\u003e\\n\u003cli\u003eA file (\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/fileattachment?view=graph-rest-1.0\\\"\u003efileAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003eAn item (contact, event or message, represented by an \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/itemattachment?view=graph-rest-1.0\\\"\u003eitemAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003eA link to a file (\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/referenceattachment?view=graph-rest-1.0\\\"\u003ereferenceAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/schemaextension?view=graph-rest-1.0\\\"\u003eschemaExtension resource type (schema extensions)\u003c/a\u003e. Schema extensions allow you to define a schema to extend and add strongly typed custom data to a resource type. The custom data appears as a complex type on the extended resource. See the \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/report?view=graph-rest-1.0\\\"\u003eschema extension example\u003c/a\u003e to learn how to add custom data to groups.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eMicrosoft Graph API endpoints\u003c/h3\u003e\\n\u003cp\u003eSee the following resources for more information:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide\\\"\u003eOffice 365 URLs and IP address ranges\u003c/a\u003e - This article contains most of the endpoints for Azure and M365, including Azure and Microsoft Graph.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/overview?view=graph-rest-1.0\\\"\u003eMicrosoft Graph REST API v1.0 reference\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/overview?view=graph-rest-beta#call-the-v10-endpoint\\\"\u003eMicrosoft Graph beta endpoint reference\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eReports and logs\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eMicrosoft Entra ID tracks user activity and creates reports that help you understand how your users access and use Microsoft Entra services. Use the Microsoft Graph API for Microsoft Entra ID to analyze the data in these reports and to create custom solutions tailored to your organization\u0027s specific needs. The availability of these activity reports is governed by the Microsoft Entra data retention policies.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003eFor more information, see:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0\\\"\u003eActivity reports API overview\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/reports-monitoring/reference-reports-data-retention#how-long-does-azure-ad-store-the-data\\\"\u003eData retention policies\u003c/a\u003e.\u003cbr\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cul\u003e\\n\u003cli\u003eWith Microsoft Graph, you can access Microsoft 365 usage reports resources to get information about how people in your business are using Microsoft 365 services. For example, you can identify who\u0027s using a service a lot and reaching quotas, or who may not need a Microsoft 365 license at all, see \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/report?view=graph-rest-1.0\\\"\u003eWorking with Microsoft 365 usage reports in Microsoft Graph\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eExpose a web API\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/quickstart-configure-app-expose-web-apis\\\"\u003eQuickStart: Configure an application to expose a web API\u003c/a\u003e. In this QuickStart, register a web API with the Microsoft identity platform and expose it to client apps by adding an example scope. By registering your web API and exposing it through scopes, you can provide permission-based access to its resources to authorized users and client apps that access your API.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cbr /\u003e\u003c/div\u003e\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eCommon issues and solutions\u003c/h2\u003e\u003ch3\u003eThe API I\u0027m calling doesn\u0027t work\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eTest Microsoft Graph APIs in your tenant or a demo tenant. Also, check out the sample queries in \u003ca href=\\\"https://developer.microsoft.com/graph/graph-explorer\\\"\u003eMicrosoft Graph Explorer\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eLearn how to configure the code for your daemon application that calls web APIs, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/scenario-daemon-app-configuration?tabs=dotnet\\\"\u003eDaemon app that calls web APIs - code configuration\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eWhere can I check the status of service availability and connectivity?\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eThe service availability and connectivity of the underlying services that can be accessed through Microsoft Graph can impact on the overall availability and performance of Microsoft Graph.\\n\u003cul\u003e\\n\u003cli\u003eFor Microsoft Entra service health, check the status of \u003cstrong\u003eSecurity + Identity\u003c/strong\u003e services listed in the \u003ca href=\\\"https://azure.microsoft.com/status/\\\"\u003eAzure status page\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eFor Office services that contribute to Microsoft Graph, check the status of services listed in the \u003ca href=\\\"https://portal.office.com/adminportal/home#/servicehealth\\\"\u003eOffice Service Health Dashboard\u003c/a\u003e. Microsoft Graph authorization errors can be a result of several issues, most of which generate a 401 or 403 error.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eWhere can I find more information on errors and known issues?\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/errors\\\"\u003eMicrosoft Graph error response information\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/known-issues\\\"\u003eKnown issues with Microsoft Graph\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003cdiv class=\\\"simplified-solution-web-results-container\\\"\u003e\u003cdiv class=\\\"simplified-solution-web-result-container\\\"\u003e\u003ch5\u003eAzure Docs\u003c/h5\u003e\u003cdiv\u003e\u003ca href=\\\"https://docs.microsoft.com/en-us/azure/programmable-connectivity/azure-programmable-connectivity-billing\\\" target=\\\"_blank\\\"\u003eConsolidated Billing\u003c/a\u003e\u003c/div\u003e\u003cp\u003e...billing, enabling developers to receive a unified invoice from Azure for all their API plans, rather than managing separate bills from various operators. This streamlined approach not only reduces ...\u003c/p\u003e\u003c/div\u003e\u003cbr/\u003e\u003cdiv class=\\\"simplified-solution-web-result-container\\\"\u003e\u003ch5\u003eCommunity\u003c/h5\u003e\u003cdiv\u003e\u003ca href=\\\"https://docs.microsoft.com/answers/questions/928000/\\\" target=\\\"_blank\\\"\u003eazure billing\u003c/a\u003e\u003c/div\u003e\u003cp\u003eI was cancelled my subscription but still it is billing.\u003c/p\u003e\u003c/div\u003e\u003cbr/\u003e\u003c/div\u003e\\n\u003cbr /\u003e\u003c/div\u003e\",\"provisioningState\":\"Succeeded\",\"appendix\":{}}}", + "isContentBase64": false + } + }, + "Get-AzSelfHelpSimplifiedSolution+[NoContext]+Get+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o?api-version=2024-03-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "b0e41fbf-edd7-4a34-a0c7-21152f637f22" ], + "CommandName": [ "Get-AzSelfHelpSimplifiedSolution" ], + "FullCommandName": [ "Get-AzSelfHelpSimplifiedSolution_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "bed4db6f-297f-4e0b-ab3b-b7f146c4d6c2" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "bed4db6f-297f-4e0b-ab3b-b7f146c4d6c2" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204346Z:bed4db6f-297f-4e0b-ab3b-b7f146c4d6c2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E66119F150474933AF5F314A73C4FAFC Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:43:46Z" ], + "Date": [ "Fri, 05 Apr 2024 20:43:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "21281" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/zmw3l2xp7o\",\"name\":\"zmw3l2xp7o\",\"type\":\"Microsoft.Help/simplifiedSolutions\",\"properties\":{\"title\":\"Catch-all: Microsoft Graph API issues\",\"content\":\"\u003ch2\u003eTroubleshoot issues with the Microsoft Graph API\u003c/h2\u003e\\n\u003cp\u003e\u003cstrong\u003eNotice:\u003c/strong\u003e Azure Active Directory (Azure AD) is being renamed to Microsoft Entra ID. No customer action is required. Capabilities, licensing, pricing, service level agreements, APIs, authentication and developer experiences are not impacted. \u003ca href=\\\"https://learn.microsoft.com/azure/active-directory/fundamentals/new-name\\\"\u003eLearn more\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eUse the following guidance to troubleshoot Microsoft Graph API issues, including issues related to authentication, authorization, and API. You\u0027ll also find information about the end of support for Azure AD Authentication Library (ADAL) and Azure AD Graph API.\u003c/p\u003e\\n\u003cp\u003eScan the following headings and select one or more that will help resolve your issue.\u003c/p\u003e\\n\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eEnd of support for Azure AD Graph API and Azure Active Directory Authentication Library\u003c/h2\u003e\u003ch3\u003eAzure Active Directory Graph API deprecation\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eAzure AD Graph APIs will be retired by March 30, 2024.\u003c/em\u003e See \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270\\\"\u003eImportant: Azure AD Graph Retirement and Powershell Module Deprecation\u003c/a\u003e. We want to make sure that all customers migrate off and discourage applications from taking production dependencies on Azure AD Graph. Investments in the new features and functionalities will be made only to \u003ca href=\\\"https://learn.microsoft.com/graph/overview\\\"\u003eMicrosoft Graph\u003c/a\u003e. Going forward, we\u0027ll continue to support Azure AD Graph with security-related fixes.\u003c/p\u003e\\n\u003cp\u003eWe recommend prioritizing migration from Azure AD Graph to Microsoft Graph. For more information, see \u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-overview\\\"\u003eMigrate Azure AD Graph apps to Microsoft Graph - Microsoft Graph | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eMicrosoft Entra ID and MSOnline PowerShell deprecation\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eMicrosoft Entra ID, Microsoft Entra ID Preview, and MSOnline PowerShell cmdlets will be retired by March 30, 2024 See \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270\\\"\u003eImportant: Azure AD Graph Retirement and Powershell Module Deprecation\u003c/a\u003e.\u003c/em\u003e The three modules will continue to work with minimal investment, apart from security updates.\u003c/p\u003e\\n\u003cp\u003eWe encourage you to continue migrating to The Microsoft Graph PowerShell SDK because that continues to be where all our current and future PowerShell investments are being made. We\u0027re also working on tools and documentation for migrating existing scripts and PowerShell processes that rely on the Azure AD Graph and MSOnline module to the Microsoft Graph PowerShell SDK.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://learn.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0\\\"\u003eFind Microsoft Entra ID and MSOnline cmdlets in Microsoft Graph PowerShell | Microsoft Docs\u003c/a\u003e and \u003ca href=\\\"https://learn.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0\\\"\u003eMigrate from Azure AD PowerShell to the Microsoft Graph PowerShell SDK | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eAzure Active Directory Authentication Library retirement\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eAzure Active Directory Authentication Library (ADAL) end-of-support is on June 30, 2023\u003c/em\u003e. While existing ADAL apps may continue to work, no support or security fixes will be provided past end-of-life. In addition, there are no planned ADAL releases prior to end-of-life for features, or planned support for new platform versions.\u003c/p\u003e\\n\u003cp\u003eWe recommend prioritizing the migration of your applications to Microsoft Authentication Library (MSAL). For more information about ADAL to MSAL migration, see \u003ca href=\\\"https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-migration\\\"\u003eMigrate to the Microsoft Authentication Library - Microsoft Entra | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/microsoft-entra-change-announcements-september-2022-train/ba-p/2967454\\\"\u003eSeptember 2022 change announcements\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eVideos: Migrating from Azure AD Graph to Microsoft Graph\u003c/h3\u003e\\n\u003cp\u003eThe following videos explain more about migrating from Azure AD Graph to Microsoft Graph.\u003c/p\u003e\\n\u003cdiv class=\\\"simplified-solution-video-group-container\\\"\\\"\u003e\u003cdiv class=\\\"simplified-solution-video-container\\\"\u003e \u003ciframe class=\\\"simplified-solution-video-group-iframe\\\"\\\" id=\\\"\\\" src=\\\"https://www.youtube-nocookie.com/embed/iKK-F2PyoQU?enablejsapi=1\u0026rel=0 title=\\\"How to migrate from Azure AD Graph to Microsoft Graph\\\"\\\" frameborder=\\\"0\\\" allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003cbr/\u003e\u003cdiv class=\\\"simplified-solution-video-container\\\"\u003e \u003ciframe class=\\\"simplified-solution-video-group-iframe\\\"\\\" id=\\\"\\\" src=\\\"https://www.youtube-nocookie.com/embed/oiXMv0xoH1s?enablejsapi=1\u0026rel=0 title=\\\"How to migrate from Azure AD Graph and MSOL PowerShell to MS Graph PowerShell\\\"\\\" frameborder=\\\"0\\\" allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003cbr/\u003e\u003c/div\u003e\\n\u003cbr /\u003e\u003c/div\u003e\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eTroubleshoot Microsoft Graph API issues\u003c/h2\u003e\u003cp\u003eUse the following troubleshooting guidance to resolve Microsoft Graph API issues.\u003c/p\u003e\\n\u003ch3\u003eAzure AD Graph migration\u003c/h3\u003e\\n\u003cp\u003eFor applications using Azure AD Graph, see \u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-overview\\\"\u003emigrate Azure AD Graph apps to Microsoft Graph\u003c/a\u003e.\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eStart with the \u003ca href=\\\"https://docs.microsoft.com/graph/migrate-azure-ad-graph-planning-checklist\\\"\u003eapp migration planning checklist\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYour Azure app registration portal shows which applications use Azure AD Graph.\u003c/li\u003e\\n\u003cli\u003eReview your apps source code, and if applicable, contact independent software vendors (ISVs) or app providers. Microsoft support can provide a list of Azure AD Graph usage in your tenant.\u003c/li\u003e\\n\u003cli\u003eIf you\u0027re having issues, post a question on \u003ca href=\\\"https://learn.microsoft.com/en-us/answers/topics/azure-ad-graph-deprecation.html\\\"\u003eMicrosoft Q\u0026amp;A\u003c/a\u003e and tag it with \u003ccode\u003eazure-ad-graph-deprecation\u003c/code\u003e, or post your question on \u003ca href=\\\"https://stackoverflow.com/questions/ask\\\"\u003eStackOverflow\u003c/a\u003e with the \u003ccode\u003eazureadgraph-deprecation\u003c/code\u003e tag.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003cp\u003eReview the following resources for more information:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-faq\\\"\u003eAzure AD Graph to Microsoft Graph migration frequently asked questions\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/application-dev-registration-config-grant-permissions-how-to/?WT.mc_id=UI_AAD_Registered_Apps_Support_L2_Overview\\\"\u003eConfigure how users consent to applications\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/application-dev-delegated-and-app-perms/?WT.mc_id=UI_AAD_Registered_Apps_Support_L2_Overview\\\"\u003eHow to recognize differences between delegated and application permissions\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003e\u003cstrong\u003eUpgrade from Microsoft Entra ID and MSOnline PowerShell to Microsoft Graph PowerShell\u003c/strong\u003e\u003c/p\u003e\\n\u003cp\u003e\u003cstrong\u003eMicrosoft Entra ID, Microsoft Entra ID Preview, and MSOnline PowerShell modules are planned for deprecation. Microsoft Graph PowerShell is the PowerShell module to use for interacting with Microsoft Entra ID and other Microsoft services.\u003c/strong\u003e\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#why-upgrade-to-microsoft-graph-powershell\\\"\u003eWhy upgrade to Microsoft Graph PowerShell?\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#upgrading-to-microsoft-graph-powershell\\\"\u003eSteps to follow when upgrading to MS Graph PowerShell\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#limitations\\\"\u003eLimitations\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003e\u003cstrong\u003eCmdlet mappings from Microsoft Entra ID and MSOnline PowerShell modules to MS Graph PowerShell module\u003c/strong\u003e\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0#azure-ad-to-microsoft-graph-powershell-by-category\\\"\u003eMicrosoft Entra ID to Microsoft Graph PowerShell by category\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0#msonline-to-microsoft-graph-powershell\\\"\u003eMSOnline to Microsoft Graph PowerShell\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eAuthentication or authorization issues\u003c/h3\u003e\\n\u003cp\u003eSee the following resources to resolve authentication or authorization issues:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003cp\u003eAuthorization errors can occur for several reasons, most of which generate a 403 error, with a few exceptions. For example, the following scenarios can lead to authorization errors:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-authentication-scenarios\\\"\u003eIncorrect access token acquisition flows\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-v2-scopes\\\"\u003ePoorly configured permission scopes\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-devhowto-multi-tenant-overview#understanding-user-and-admin-consent\\\"\u003eLack of consent\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-permissions-and-consent\\\"\u003eLack of permissions\u003c/a\u003e \u003cbr\u003e\\nFor more information, see \u003ca href=\\\"https://docs.microsoft.com/graph/resolve-auth-errors\\\"\u003eResolve Microsoft Graph authorization errors\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eLearn how to implement the OAuth 2.0 authorization code grant flow. See \u003ca href=\\\"https://docs.microsoft.com/graph/auth-v2-user\\\"\u003eGet access on behalf of a user\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eLearn how to program directly against the code grant (PKCE) flow in your application using any language, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow\\\"\u003eMicrosoft identity platform and OAuth 2.0 authorization code flow\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eConfigure a service and use the OAuth client credentials grant flow to get an access token. See \u003ca href=\\\"https://docs.microsoft.com/graph/auth-v2-service\\\"\u003eGet access without a user\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eProgram directly against the client credentials flow in your application. See \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow\\\"\u003eMicrosoft identity platform and the OAuth 2.0 client credentials flow\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eProgram directly against the resource owner password credential (ROPC) flow in your application. See \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth-ropc\\\"\u003eMicrosoft identity platform and OAuth 2.0 resource owner password credentials\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eThe Microsoft identity platform only supports ROPC for Microsoft Entra tenants, not personal accounts. This means that you must use a tenant-specific endpoint, for example, \u0026quot;//login.microsoftonline.com/{TenantId_or_Name}\u0026quot; or the \u003cem\u003eorganization\u0027s\u003c/em\u003e endpoint.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003ePersonal accounts that are invited to a Microsoft Entra tenant can\u0027t use ROPC.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eAccounts that don\u0027t have passwords can\u0027t sign in through ROPC. In this case, we recommend using a different flow for your app.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eIf users need to use \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/authentication/concept-mfa-howitworks\\\"\u003emultifactor authentication (MFA)\u003c/a\u003e to sign in to the application, they\u0027ll be blocked instead.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eROPC is not supported in \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/hybrid/whatis-fed\\\"\u003ehybrid identity federation\u003c/a\u003e scenarios. For example, Microsoft Entra ID and Active Directory Federation Services (AD FS) previously authenticated on-premises accounts. If users are full-page redirected to an on-premises identity provider, Microsoft Entra ID is not able to test the username and password against that identity provider. \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/hybrid/how-to-connect-pta\\\"\u003ePass-through authentication\u003c/a\u003e is supported with ROPC, however.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eAn exception to a hybrid identity federation scenario would be the following: home realm discovery (HRD) policy with \u003ccode\u003eAllowCloudPasswordValidation\u003c/code\u003e set to \u003ccode\u003eTRUE\u003c/code\u003e will enable ROPC flow to work for federated users when the on-premises password is synced to the cloud. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/manage-apps/configure-authentication-for-federated-users-portal#enable-direct-ropc-authentication-of-federated-users-for-legacy-applications\\\"\u003eEnable direct ROPC authentication of federated users for legacy applications\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eQuery data from API\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eMicrosoft Graph supports optional query parameters you can use to specify and control the amount of data returned in a response. The support for the exact query parameters varies from one API operation to another, and depending on the API, can differ between the v1.0 and beta endpoints. See \u003ca href=\\\"https://docs.microsoft.com/graph/query-parameters#odata-system-query-options\\\"\u003eUse query parameters to customize responses\u003c/a\u003e for more information.\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta\\\"\u003euser resource type\u003c/a\u003e. This represents a Microsoft Entra user account and inherits from directoryObject. For performance reasons, the \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-post-users?view=graph-rest-beta\\\"\u003ecreate\u003c/a\u003e, \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-get?view=graph-rest-beta\\\"\u003eget\u003c/a\u003e, and \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-list?view=graph-rest-beta\\\"\u003elist\u003c/a\u003e operations return only a subset of more commonly used properties by default. These default properties are noted in the \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta#properties\\\"\u003eproperties\u003c/a\u003e section. To get any of the properties that are not returned by default, specify them in a \u003ccode\u003e$select\u003c/code\u003e OData query option.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/attachment?view=graph-rest-1.0\\\"\u003eattachment resource type\u003c/a\u003e. You can add related content to a user event, message, or post in the form of an attachment. Attachment is the base resource for the following derived types of attachments:\\n\u003cul\u003e\\n\u003cli\u003eA file (\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/fileattachment?view=graph-rest-1.0\\\"\u003efileAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003eAn item (contact, event or message, represented by an \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/itemattachment?view=graph-rest-1.0\\\"\u003eitemAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003eA link to a file (\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/referenceattachment?view=graph-rest-1.0\\\"\u003ereferenceAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/schemaextension?view=graph-rest-1.0\\\"\u003eschemaExtension resource type (schema extensions)\u003c/a\u003e. Schema extensions allow you to define a schema to extend and add strongly typed custom data to a resource type. The custom data appears as a complex type on the extended resource. See the \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/report?view=graph-rest-1.0\\\"\u003eschema extension example\u003c/a\u003e to learn how to add custom data to groups.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eMicrosoft Graph API endpoints\u003c/h3\u003e\\n\u003cp\u003eSee the following resources for more information:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide\\\"\u003eOffice 365 URLs and IP address ranges\u003c/a\u003e - This article contains most of the endpoints for Azure and M365, including Azure and Microsoft Graph.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/overview?view=graph-rest-1.0\\\"\u003eMicrosoft Graph REST API v1.0 reference\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/overview?view=graph-rest-beta#call-the-v10-endpoint\\\"\u003eMicrosoft Graph beta endpoint reference\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eReports and logs\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eMicrosoft Entra ID tracks user activity and creates reports that help you understand how your users access and use Microsoft Entra services. Use the Microsoft Graph API for Microsoft Entra ID to analyze the data in these reports and to create custom solutions tailored to your organization\u0027s specific needs. The availability of these activity reports is governed by the Microsoft Entra data retention policies.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003eFor more information, see:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0\\\"\u003eActivity reports API overview\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/reports-monitoring/reference-reports-data-retention#how-long-does-azure-ad-store-the-data\\\"\u003eData retention policies\u003c/a\u003e.\u003cbr\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cul\u003e\\n\u003cli\u003eWith Microsoft Graph, you can access Microsoft 365 usage reports resources to get information about how people in your business are using Microsoft 365 services. For example, you can identify who\u0027s using a service a lot and reaching quotas, or who may not need a Microsoft 365 license at all, see \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/report?view=graph-rest-1.0\\\"\u003eWorking with Microsoft 365 usage reports in Microsoft Graph\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eExpose a web API\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/quickstart-configure-app-expose-web-apis\\\"\u003eQuickStart: Configure an application to expose a web API\u003c/a\u003e. In this QuickStart, register a web API with the Microsoft identity platform and expose it to client apps by adding an example scope. By registering your web API and exposing it through scopes, you can provide permission-based access to its resources to authorized users and client apps that access your API.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cbr /\u003e\u003c/div\u003e\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eCommon issues and solutions\u003c/h2\u003e\u003ch3\u003eThe API I\u0027m calling doesn\u0027t work\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eTest Microsoft Graph APIs in your tenant or a demo tenant. Also, check out the sample queries in \u003ca href=\\\"https://developer.microsoft.com/graph/graph-explorer\\\"\u003eMicrosoft Graph Explorer\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eLearn how to configure the code for your daemon application that calls web APIs, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/scenario-daemon-app-configuration?tabs=dotnet\\\"\u003eDaemon app that calls web APIs - code configuration\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eWhere can I check the status of service availability and connectivity?\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eThe service availability and connectivity of the underlying services that can be accessed through Microsoft Graph can impact on the overall availability and performance of Microsoft Graph.\\n\u003cul\u003e\\n\u003cli\u003eFor Microsoft Entra service health, check the status of \u003cstrong\u003eSecurity + Identity\u003c/strong\u003e services listed in the \u003ca href=\\\"https://azure.microsoft.com/status/\\\"\u003eAzure status page\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eFor Office services that contribute to Microsoft Graph, check the status of services listed in the \u003ca href=\\\"https://portal.office.com/adminportal/home#/servicehealth\\\"\u003eOffice Service Health Dashboard\u003c/a\u003e. Microsoft Graph authorization errors can be a result of several issues, most of which generate a 401 or 403 error.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eWhere can I find more information on errors and known issues?\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/errors\\\"\u003eMicrosoft Graph error response information\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/known-issues\\\"\u003eKnown issues with Microsoft Graph\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003cdiv class=\\\"simplified-solution-web-results-container\\\"\u003e\u003cdiv class=\\\"simplified-solution-web-result-container\\\"\u003e\u003ch5\u003eAzure Docs\u003c/h5\u003e\u003cdiv\u003e\u003ca href=\\\"https://docs.microsoft.com/en-us/azure/programmable-connectivity/azure-programmable-connectivity-billing\\\" target=\\\"_blank\\\"\u003eConsolidated Billing\u003c/a\u003e\u003c/div\u003e\u003cp\u003e...billing, enabling developers to receive a unified invoice from Azure for all their API plans, rather than managing separate bills from various operators. This streamlined approach not only reduces ...\u003c/p\u003e\u003c/div\u003e\u003cbr/\u003e\u003cdiv class=\\\"simplified-solution-web-result-container\\\"\u003e\u003ch5\u003eCommunity\u003c/h5\u003e\u003cdiv\u003e\u003ca href=\\\"https://docs.microsoft.com/answers/questions/928000/\\\" target=\\\"_blank\\\"\u003eazure billing\u003c/a\u003e\u003c/div\u003e\u003cp\u003eI was cancelled my subscription but still it is billing.\u003c/p\u003e\u003c/div\u003e\u003cbr/\u003e\u003c/div\u003e\\n\u003cbr /\u003e\u003c/div\u003e\",\"provisioningState\":\"Succeeded\",\"appendix\":{}}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSimplifiedSolution.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSimplifiedSolution.Tests.ps1 new file mode 100644 index 000000000000..9a65dfe374d2 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSimplifiedSolution.Tests.ps1 @@ -0,0 +1,30 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSelfHelpSimplifiedSolution')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzSelfHelpSimplifiedSolution.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzSelfHelpSimplifiedSolution' -Tag 'LiveOnly' { + It 'Get' { + { + $resourceName = RandomString -allChars $false -len 10 + $solutionId = "9004345-7759" + $parameters = [ordered]@{ + + "SearchText" = "Billing" + } + New-AzSelfHelpSimplifiedSolution -Scope $env.scope -SResourceName $resourceName -SolutionId $solutionId -Parameter $parameters + Get-AzSelfHelpSimplifiedSolution -Scope $env.scope -SResourceName $resourceName + } | Should -Not -Throw + } +} diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolution.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolution.Recording.json new file mode 100644 index 000000000000..078062305ca2 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolution.Recording.json @@ -0,0 +1,174 @@ +{ + "Get-AzSelfHelpSolution+[NoContext]+Get+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/ns7xw3afib?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/ns7xw3afib?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"triggerCriteria\": [\n {\n \"name\": \"SolutionId\",\n \"value\": \"apollo-cognitve-search-custom-skill\"\n }\n ],\n \"parameters\": {\n \"SearchText\": \"Can not Search\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "221" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/ns7xw3afib/operationResults/c1471cea-17ec-4745-a364-0304b7ed7dda?api-version=2024-03-01-preview\u0026t=638479466409777162\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtG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I7GPg\u0026h=PUkf-Ur8dQ31FSlv81wFep3Our1QUn28X8EIxcVGHRQ" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/ns7xw3afib/operationResults/c1471cea-17ec-4745-a364-0304b7ed7dda?api-version=2024-03-01-preview\u0026t=638479466409777162\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtGcrVIgwMRo8mtAqJbl-t1oT9_g6iTDwGRm2XP9UklUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6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NCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD4mRGDGmDi9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=qBdI0Lg-dsrvY0BUYapsUSEZiDTM4n-kDa433fsSnCGAgI7nSQszrLee3gCKW91jH3OC_QZDMfDCwhllrvFQaKVPffg1HnAANhbossRpP8CWGUFxQ9FJzyrFSkTy9V7JeH_kpt_eiDdwYUlV2JuFA17fX8GASIiXf3u0L7z0nQz_J1W7w9XgybED5_BiEITg1ZoMc3FrxHwsdByMJ8hrHJGvCheF5yF_3owBQUjap3_uuNPpzih2mv_dd7QdWmAzdjPl91-ID84bDwPYJ58SBiw68SnlIqIAOQhQH2CXOlrEt-RA4pj__yrZgf4aZ9wC5nV3wfjWflD13-CdTI7GPg\u0026h=PUkf-Ur8dQ31FSlv81wFep3Our1QUn28X8EIxcVGHRQ" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "3dd4e17f-247f-49ac-bf50-803b2d236022" ], + "x-ms-correlation-request-id": [ "3dd4e17f-247f-49ac-bf50-803b2d236022" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204400Z:3dd4e17f-247f-49ac-bf50-803b2d236022" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 2198A49ABE374B2ABB034C683F0B0B5F Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:44:00Z" ], + "Date": [ "Fri, 05 Apr 2024 20:44:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "3414" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/ns7xw3afib\",\"name\":\"ns7xw3afib\",\"type\":\"Microsoft.Help/Solutions\",\"properties\":{\"title\":\"Issue getting a custom skill to work\",\"content\":\"\u003ch2\u003eResolve issues with a custom skill not working with Cognitive Search\u003c/h2\u003e\\n\u003cp\u003eBuilding a custom skill gives you a way to insert transformations unique to your content. A custom skill executes independently, applying whatever enrichment step you require. For example, you could build custom classification models to differentiate business and financial contracts and documents, or add a speech recognition skill to reach deeper into audio files for relevant content.\u003c/p\u003e\\n\u003cp\u003eIf you\u0027re experiencing issues with a custom skill not working with Cognitive Search, use the following guidance to help resolve your issues.\u003c/p\u003e\\n\u003ch3\u003eTroubleshooting steps\u003c/h3\u003e\\n\u003cp\u003eIf you are having trouble with a custom skill, ensure that:\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eYour skill works with a REST client.\u003c/li\u003e\\n\u003cli\u003eThe custom skill meets the \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003ecustom skill interface guidelines\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eAll indexer run errors and warnings are resolved.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-create-custom-skill-example\\\"\u003eThe skillset definition of the custom skill is valid\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eThe input data matches the schema of your target index. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/search/search-indexer-field-mappings\\\"\u003eField mappings and transformations using Azure Cognitive Search indexers\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYou use \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-debug-session\\\"\u003edebug sessions\u003c/a\u003e to identify and resolve errors, validate changes, and push changes to a production skillset in the AI enrichment pipeline.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003ch3\u003eResources\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003eHow to add a custom skill to a cognitive search pipeline\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\\n\",\"replacementMaps\":{\"webResults\":[{\"searchResults\":[{\"solutionId\":\"GitHub_625773453\",\"content\":\"...accurate ? \u003e Search Administrators can delegate the Search Administrators and Search Editor roles to users... ##### You can\u0027t delegate your Search Admin role to other users if I\u0027m not wrong...\",\"title\":\" Search Admin role delegation\",\"confidence\":\"High\",\"source\":\"GitHub\",\"resultType\":\"Community\",\"rank\":1,\"link\":\"https://github.com/MicrosoftDocs/azure-docs/issues/55782\"},{\"solutionId\":\"articles|search|semantic-search-overview.md\",\"content\":\"...search query is a question, and answers are requested, the response will include a text passage that best answers the question, as expressed by the search query.\\n:::image type=\\\"content\\\" source=\\\"media...\",\"title\":\"What is semantic ranking?\",\"confidence\":\"High\",\"source\":\"\",\"resultType\":\"Documentation\",\"rank\":1,\"link\":\"https://docs.microsoft.com/en-us/azure/search/semantic-search-overview#semantic-search-architecture\"}],\"replacementKey\":\"\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\"}]},\"sections\":[],\"solutionId\":\"apollo-cognitve-search-custom-skill\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "Get-AzSelfHelpSolution+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/ns7xw3afib/operationResults/c1471cea-17ec-4745-a364-0304b7ed7dda?api-version=2024-03-01-preview\u0026t=638479466409777162\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtGcrVIgwMRo8mtAqJbl-t1oT9_g6iTDwGRm2XP9UklUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwE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JTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD4mRGDGmDi9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=qBdI0Lg-dsrvY0BUYapsUSEZiDTM4n-kDa433fsSnCGAgI7nSQszrLee3gCKW91jH3OC_QZDMfDCwhllrvFQaKVPffg1HnAANhbossRpP8CWGUFxQ9FJzyrFSkTy9V7JeH_kpt_eiDdwYUlV2JuFA17fX8GASIiXf3u0L7z0nQz_J1W7w9XgybED5_BiEITg1ZoMc3FrxHwsdByMJ8hrHJGvCheF5yF_3owBQUjap3_uuNPpzih2mv_dd7QdWmAzdjPl91-ID84bDwPYJ58SBiw68SnlIqIAOQhQH2CXOlrEt-RA4pj__yrZgf4aZ9wC5nV3wfjWflD13-CdTI7GPg\u0026h=PUkf-Ur8dQ31FSlv81wFep3Our1QUn28X8EIxcVGHRQ+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/ns7xw3afib/operationResults/c1471cea-17ec-4745-a364-0304b7ed7dda?api-version=2024-03-01-preview\u0026t=638479466409777162\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtGcrVIgwMRo8mtAqJbl-t1oT9_g6iTDwGRm2XP9UklUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlky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GDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD4mRGDGmDi9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=qBdI0Lg-dsrvY0BUYapsUSEZiDTM4n-kDa433fsSnCGAgI7nSQszrLee3gCKW91jH3OC_QZDMfDCwhllrvFQaKVPffg1HnAANhbossRpP8CWGUFxQ9FJzyrFSkTy9V7JeH_kpt_eiDdwYUlV2JuFA17fX8GASIiXf3u0L7z0nQz_J1W7w9XgybED5_BiEITg1ZoMc3FrxHwsdByMJ8hrHJGvCheF5yF_3owBQUjap3_uuNPpzih2mv_dd7QdWmAzdjPl91-ID84bDwPYJ58SBiw68SnlIqIAOQhQH2CXOlrEt-RA4pj__yrZgf4aZ9wC5nV3wfjWflD13-CdTI7GPg\u0026h=PUkf-Ur8dQ31FSlv81wFep3Our1QUn28X8EIxcVGHRQ", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "395ec426-dadc-4d65-ad41-140dbc09c4f8" ], + "CommandName": [ "New-AzSelfHelpSolution" ], + "FullCommandName": [ "New-AzSelfHelpSolution_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d9939d4e-71ca-42ee-a45b-03c912d4b5a4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "d9939d4e-71ca-42ee-a45b-03c912d4b5a4" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204431Z:d9939d4e-71ca-42ee-a45b-03c912d4b5a4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: D0B565F160B7438BB6A859EA9382ED34 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:44:31Z" ], + "Date": [ "Fri, 05 Apr 2024 20:44:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "227" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/ns7xw3afib/operationResults/c1471cea-17ec-4745-a364-0304b7ed7dda\",\"name\":\"c1471cea-17ec-4745-a364-0304b7ed7dda\",\"status\":\"Succeeded\"}", + "isContentBase64": false + } + }, + "Get-AzSelfHelpSolution+[NoContext]+Get+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/ns7xw3afib?api-version=2024-03-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/ns7xw3afib?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "395ec426-dadc-4d65-ad41-140dbc09c4f8" ], + "CommandName": [ "New-AzSelfHelpSolution" ], + "FullCommandName": [ "New-AzSelfHelpSolution_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c56a8af1-a9c7-4dd3-9ef5-d1148053dfb6" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "c56a8af1-a9c7-4dd3-9ef5-d1148053dfb6" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204431Z:c56a8af1-a9c7-4dd3-9ef5-d1148053dfb6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: D6B1F78C2435454A8117C2AFC586A2F0 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:44:31Z" ], + "Date": [ "Fri, 05 Apr 2024 20:44:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "3414" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/ns7xw3afib\",\"name\":\"ns7xw3afib\",\"type\":\"Microsoft.Help/Solutions\",\"properties\":{\"title\":\"Issue getting a custom skill to work\",\"content\":\"\u003ch2\u003eResolve issues with a custom skill not working with Cognitive Search\u003c/h2\u003e\\n\u003cp\u003eBuilding a custom skill gives you a way to insert transformations unique to your content. A custom skill executes independently, applying whatever enrichment step you require. For example, you could build custom classification models to differentiate business and financial contracts and documents, or add a speech recognition skill to reach deeper into audio files for relevant content.\u003c/p\u003e\\n\u003cp\u003eIf you\u0027re experiencing issues with a custom skill not working with Cognitive Search, use the following guidance to help resolve your issues.\u003c/p\u003e\\n\u003ch3\u003eTroubleshooting steps\u003c/h3\u003e\\n\u003cp\u003eIf you are having trouble with a custom skill, ensure that:\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eYour skill works with a REST client.\u003c/li\u003e\\n\u003cli\u003eThe custom skill meets the \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003ecustom skill interface guidelines\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eAll indexer run errors and warnings are resolved.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-create-custom-skill-example\\\"\u003eThe skillset definition of the custom skill is valid\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eThe input data matches the schema of your target index. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/search/search-indexer-field-mappings\\\"\u003eField mappings and transformations using Azure Cognitive Search indexers\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYou use \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-debug-session\\\"\u003edebug sessions\u003c/a\u003e to identify and resolve errors, validate changes, and push changes to a production skillset in the AI enrichment pipeline.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003ch3\u003eResources\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003eHow to add a custom skill to a cognitive search pipeline\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\\n\",\"replacementMaps\":{\"webResults\":[{\"searchResults\":[{\"solutionId\":\"GitHub_625773453\",\"content\":\"...accurate ? \u003e Search Administrators can delegate the Search Administrators and Search Editor roles to users... ##### You can\u0027t delegate your Search Admin role to other users if I\u0027m not wrong...\",\"title\":\" Search Admin role delegation\",\"confidence\":\"High\",\"source\":\"GitHub\",\"resultType\":\"Community\",\"rank\":1,\"link\":\"https://github.com/MicrosoftDocs/azure-docs/issues/55782\"},{\"solutionId\":\"articles|search|semantic-search-overview.md\",\"content\":\"...search query is a question, and answers are requested, the response will include a text passage that best answers the question, as expressed by the search query.\\n:::image type=\\\"content\\\" source=\\\"media...\",\"title\":\"What is semantic ranking?\",\"confidence\":\"High\",\"source\":\"\",\"resultType\":\"Documentation\",\"rank\":1,\"link\":\"https://docs.microsoft.com/en-us/azure/search/semantic-search-overview#semantic-search-architecture\"}],\"replacementKey\":\"\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\"}]},\"sections\":[],\"solutionId\":\"apollo-cognitve-search-custom-skill\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "Get-AzSelfHelpSolution+[NoContext]+Get+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/ns7xw3afib?api-version=2024-03-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/ns7xw3afib?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "8df68dbb-5c62-4a82-b457-871fa4de0ef6" ], + "CommandName": [ "Get-AzSelfHelpSolution" ], + "FullCommandName": [ "Get-AzSelfHelpSolution_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "361d766a-c253-4e1f-bce6-1d540f1c6ad9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "361d766a-c253-4e1f-bce6-1d540f1c6ad9" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204432Z:361d766a-c253-4e1f-bce6-1d540f1c6ad9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: C3F3E5BAF1B944C08039340B98C5A8D4 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:44:31Z" ], + "Date": [ "Fri, 05 Apr 2024 20:44:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "3414" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/ns7xw3afib\",\"name\":\"ns7xw3afib\",\"type\":\"Microsoft.Help/Solutions\",\"properties\":{\"title\":\"Issue getting a custom skill to work\",\"content\":\"\u003ch2\u003eResolve issues with a custom skill not working with Cognitive Search\u003c/h2\u003e\\n\u003cp\u003eBuilding a custom skill gives you a way to insert transformations unique to your content. A custom skill executes independently, applying whatever enrichment step you require. For example, you could build custom classification models to differentiate business and financial contracts and documents, or add a speech recognition skill to reach deeper into audio files for relevant content.\u003c/p\u003e\\n\u003cp\u003eIf you\u0027re experiencing issues with a custom skill not working with Cognitive Search, use the following guidance to help resolve your issues.\u003c/p\u003e\\n\u003ch3\u003eTroubleshooting steps\u003c/h3\u003e\\n\u003cp\u003eIf you are having trouble with a custom skill, ensure that:\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eYour skill works with a REST client.\u003c/li\u003e\\n\u003cli\u003eThe custom skill meets the \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003ecustom skill interface guidelines\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eAll indexer run errors and warnings are resolved.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-create-custom-skill-example\\\"\u003eThe skillset definition of the custom skill is valid\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eThe input data matches the schema of your target index. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/search/search-indexer-field-mappings\\\"\u003eField mappings and transformations using Azure Cognitive Search indexers\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYou use \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-debug-session\\\"\u003edebug sessions\u003c/a\u003e to identify and resolve errors, validate changes, and push changes to a production skillset in the AI enrichment pipeline.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003ch3\u003eResources\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003eHow to add a custom skill to a cognitive search pipeline\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\\n\",\"replacementMaps\":{\"webResults\":[{\"searchResults\":[{\"solutionId\":\"GitHub_625773453\",\"content\":\"...accurate ? \u003e Search Administrators can delegate the Search Administrators and Search Editor roles to users... ##### You can\u0027t delegate your Search Admin role to other users if I\u0027m not wrong...\",\"title\":\" Search Admin role delegation\",\"confidence\":\"High\",\"source\":\"GitHub\",\"resultType\":\"Community\",\"rank\":1,\"link\":\"https://github.com/MicrosoftDocs/azure-docs/issues/55782\"},{\"solutionId\":\"articles|search|semantic-search-overview.md\",\"content\":\"...search query is a question, and answers are requested, the response will include a text passage that best answers the question, as expressed by the search query.\\n:::image type=\\\"content\\\" source=\\\"media...\",\"title\":\"What is semantic ranking?\",\"confidence\":\"High\",\"source\":\"\",\"resultType\":\"Documentation\",\"rank\":1,\"link\":\"https://docs.microsoft.com/en-us/azure/search/semantic-search-overview#semantic-search-architecture\"}],\"replacementKey\":\"\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\"}]},\"sections\":[],\"solutionId\":\"apollo-cognitve-search-custom-skill\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolution.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolution.Tests.ps1 index d0c30a8589b9..3f2d89c66e01 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolution.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolution.Tests.ps1 @@ -14,17 +14,16 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSelfHelpSolution')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzSelfHelpSolution' -Tag 'LiveOnly' { +Describe 'Get-AzSelfHelpSolution' -Tag 'LiveOnly'{ It 'Get' { $resourceName = RandomString -allChars $false -len 10 $criteria = [ordered]@{ "name" ="SolutionId" - "value" = "keyvault-lostdeletedkeys-apollo-solution" + "value" = "apollo-cognitve-search-custom-skill" } $parameters = [ordered]@{ - "SearchText" = "Can not RDP" - "vault_name" = "DemoKeyvault" + "SearchText" = "Can not Search" } New-AzSelfHelpSolution -Scope $env.scope -ResourceName $resourceName -TriggerCriterion $criteria -Parameter $parameters diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolutionSelfHelp.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolutionSelfHelp.Recording.json new file mode 100644 index 000000000000..ae5a831035a2 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolutionSelfHelp.Recording.json @@ -0,0 +1,46 @@ +{ + "Get-AzSelfHelpSolutionSelfHelp+[NoContext]+Get+$GET+https://management.azure.com/providers/Microsoft.Help/selfHelp/apollo-48996ff7-002f-47c1-85b2-df138843d5d5?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Help/selfHelp/apollo-48996ff7-002f-47c1-85b2-df138843d5d5?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "d260ea5e-d9db-4157-8c77-89fa73ac7f99" ], + "CommandName": [ "Get-AzSelfHelpSolutionSelfHelp" ], + "FullCommandName": [ "Get-AzSelfHelpSolutionSelfHelp_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "49ba1612-83b4-4d26-8918-07e22bc03f05" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "49ba1612-83b4-4d26-8918-07e22bc03f05" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204446Z:49ba1612-83b4-4d26-8918-07e22bc03f05" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 95EC19717038493692F401AEEA955637 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:44:46Z" ], + "Date": [ "Fri, 05 Apr 2024 20:44:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2212" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Help/selfHelp/apollo-48996ff7-002f-47c1-85b2-df138843d5d5\",\"name\":\"apollo-48996ff7-002f-47c1-85b2-df138843d5d5\",\"type\":\"Microsoft.Help/selfHelp\",\"properties\":{\"title\":\"Durable Functions/Creation\",\"content\":\"\u003ch2\u003eResolve issues with creating Durable Functions\u003c/h2\u003e\\n\u003cp\u003eDurable Functions is an extension of Azure Functions that lets you write stateful functions in a serverless environment. The extension manages state, checkpoints, and restarts for you.\u003c/p\u003e\\n\u003ch3\u003eRecommended steps\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eIf you\u0027re using the \u003ca href=\\\"https://docs.microsoft.com/azure/azure-functions/durable/durable-functions-storage-providers#mssql\\\"\u003eMicrosoft SQL Server storage provider\u003c/a\u003e, multitenancy mode is enabled by default, in which case the TaskHub name will be the SQL login username (for example, \u003cstrong\u003edbo\u003c/strong\u003e). If you want to disable multitenancy mode, run the following T-SQL command:\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cpre class=\\\"ext-code\\\"\u003e\u003ccode\u003e EXECUTE dt.SetGlobalSetting @Name=\u0027TaskHubMode\u0027, @Value=0\\n\u003c/code\u003e\u003c/pre\u003e\\n\u003cp\u003eWhen multitenancy mode is disabled, the \u003ccode\u003eTaskHub\u003c/code\u003e name is the one that you specify in the \u003ca href=\\\"https://docs.microsoft.com/azure/azure-functions/durable/durable-functions-task-hubs?tabs=csharp#task-hub-names\\\"\u003ehost.json or Function binding\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://microsoft.github.io/durabletask-mssql/#/multitenancy?id=enabling-multitenancy\\\"\u003eMultitenancy\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eResources\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/azure-functions/durable/durable-functions-create-first-csharp\\\"\u003eCreate your first durable function in C#\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/azure-functions/durable/quickstart-js-vscode\\\"\u003eCreate your first durable function in JavaScript\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/azure-functions/durable/durable-functions-storage-providers\\\"\u003eDurable Functions storage providers\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003c!--ecc4cc50-08a2-493c-98d8-4d55e420f0a7--\u003e\\n\",\"replacementMaps\":{\"webResults\":[{\"replacementKey\":\"\u003c!--ecc4cc50-08a2-493c-98d8-4d55e420f0a7--\u003e\"}]},\"sections\":[],\"solutionId\":\"apollo-48996ff7-002f-47c1-85b2-df138843d5d5\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolutionSelfHelp.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolutionSelfHelp.Tests.ps1 new file mode 100644 index 000000000000..16cd1a1fd227 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpSolutionSelfHelp.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSelfHelpSolutionSelfHelp')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzSelfHelpSolutionSelfHelp.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzSelfHelpSolutionSelfHelp' -Tag 'LiveOnly'{ + It 'Get' { + { + Get-AzSelfHelpSolutionSelfHelp -SolutionId "apollo-48996ff7-002f-47c1-85b2-df138843d5d5" + } | Should -Not -Throw + } +} diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpTroubleshooter.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpTroubleshooter.Recording.json new file mode 100644 index 000000000000..8a4a15b0eed9 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpTroubleshooter.Recording.json @@ -0,0 +1,84 @@ +{ + "Get-AzSelfHelpTroubleshooter+[NoContext]+Get+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/094e82a0-65b0-47b0-96c6-62aef1251921?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/094e82a0-65b0-47b0-96c6-62aef1251921?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"solutionId\": \"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\n \"parameters\": {\n \"ResourceUri\": \"/subscriptions/02d59989-f8a9-4b69-9919-1ef51df4eff6\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "184" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "0e944151-885c-49ba-9caf-3372747e341e" ], + "x-ms-correlation-request-id": [ "0e944151-885c-49ba-9caf-3372747e341e" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204503Z:0e944151-885c-49ba-9caf-3372747e341e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: D0CAA4DC045240038C1F37889C8ADBC4 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:45:01Z" ], + "Date": [ "Fri, 05 Apr 2024 20:45:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "980" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/094e82a0-65b0-47b0-96c6-62aef1251921\",\"name\":\"094e82a0-65b0-47b0-96c6-62aef1251921\",\"type\":\"Microsoft.Help/troubleshooters\",\"properties\":{\"provisioningState\":\"AutoContinue\",\"solutionId\":\"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\"steps\":[{\"id\":\"72b61ee7-132e-4cb1-8ee7-e279bcf33189\",\"title\":\"Intro Step\",\"type\":\"Decision\",\"executionStatus\":\"Success\",\"isLastStep\":false,\"inputs\":[{\"questionId\":\"0\",\"questionType\":\"MultiLineInfoBox\",\"questionContent\":\"{\\\"title\\\":\\\"Connectivity Guided Troubleshooter\\\",\\\"content\\\":\\\"This guided troubleshooter will enable you to self-troubleshoot your Virtual Machine (VM) SSH issues by checking VM health state, network settings, CPU and memory usage, etc. It typically takes between 3 to 5 minutes to complete the flow.\\\"}\",\"questionContentType\":\"Text\"}]}]}}", + "isContentBase64": false + } + }, + "Get-AzSelfHelpTroubleshooter+[NoContext]+Get+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/troubleshooters/094e82a0-65b0-47b0-96c6-62aef1251921?api-version=2024-03-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/troubleshooters/094e82a0-65b0-47b0-96c6-62aef1251921?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "0fedcb6d-1677-49f3-b987-67f707e53351" ], + "CommandName": [ "Get-AzSelfHelpTroubleshooter" ], + "FullCommandName": [ "Get-AzSelfHelpTroubleshooter_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f374bb22-5079-4931-a98d-6e439d9d7497" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "f374bb22-5079-4931-a98d-6e439d9d7497" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204504Z:f374bb22-5079-4931-a98d-6e439d9d7497" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: DF3B86FA40A545BA873DFB5131C35E9A Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:45:03Z" ], + "Date": [ "Fri, 05 Apr 2024 20:45:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "887" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/troubleshooters/094e82a0-65b0-47b0-96c6-62aef1251921\",\"name\":\"094e82a0-65b0-47b0-96c6-62aef1251921\",\"type\":\"Microsoft.Help/troubleshooters\",\"properties\":{\"provisioningState\":\"AutoContinue\",\"solutionId\":\"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\"steps\":[{\"id\":\"72b61ee7-132e-4cb1-8ee7-e279bcf33189\",\"title\":\"Intro Step\",\"type\":\"Decision\",\"executionStatus\":\"Success\",\"isLastStep\":false,\"inputs\":[{\"questionId\":\"0\",\"questionType\":\"MultiLineInfoBox\",\"questionContent\":\"{\\\"title\\\":\\\"Connectivity Guided Troubleshooter\\\",\\\"content\\\":\\\"This guided troubleshooter will enable you to self-troubleshoot your Virtual Machine (VM) SSH issues by checking VM health state, network settings, CPU and memory usage, etc. It typically takes between 3 to 5 minutes to complete the flow.\\\"}\",\"questionContentType\":\"Text\"}]}]}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpTroubleshooter.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpTroubleshooter.Tests.ps1 index 9a0c01952bd0..fe661fa7329b 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpTroubleshooter.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/Get-AzSelfHelpTroubleshooter.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSelfHelpTroubleshooter' . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzSelfHelpTroubleshooter' -Tag 'LiveOnly' { +Describe 'Get-AzSelfHelpTroubleshooter' -Tag 'LiveOnly'{ It 'Get' { { $resourceName = New-Guid $parameters = [ordered]@{ diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpCheckNameAvailability.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpCheckNameAvailability.Recording.json index 1b3963bb06bd..12a0b2a5aeab 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpCheckNameAvailability.Recording.json +++ b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpCheckNameAvailability.Recording.json @@ -1,15 +1,15 @@ { - "Invoke-AzSelfHelpCheckNameAvailability+[NoContext]+PostExpanded+$POST+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/checkNameAvailability?api-version=2023-09-01-preview+1": { + "Invoke-AzSelfHelpCheckNameAvailability+[NoContext]+Post+$POST+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/checkNameAvailability?api-version=2024-03-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/checkNameAvailability?api-version=2023-09-01-preview", - "Content": "{\r\n \"name\": \"helloworld\",\r\n \"type\": \"solutions\"\r\n}", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/checkNameAvailability?api-version=2024-03-01-preview", + "Content": "{\n \"name\": \"helloworld\",\n \"type\": \"solutions\"\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "52" ] + "Content-Length": [ "49" ] } }, "Response": { @@ -18,16 +18,16 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3b9e391a-0429-43a9-a454-e8d9ea6b082c" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-request-id": [ "f9632039-7a85-4375-99c1-677c58cc06c9" ], - "x-ms-correlation-request-id": [ "f9632039-7a85-4375-99c1-677c58cc06c9" ], - "x-ms-routing-request-id": [ "EASTUS:20230929T174139Z:f9632039-7a85-4375-99c1-677c58cc06c9" ], + "x-ms-correlation-request-id": [ "3b9e391a-0429-43a9-a454-e8d9ea6b082c" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204520Z:3b9e391a-0429-43a9-a454-e8d9ea6b082c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DBFE788829914246B3D4C7EDC79F4D82 Ref B: BN1AA2051014029 Ref C: 2023-09-29T17:41:39Z" ], - "Date": [ "Fri, 29 Sep 2023 17:41:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 193FA20840844F519657818881FC92D6 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:45:20Z" ], + "Date": [ "Fri, 05 Apr 2024 20:45:19 GMT" ] }, "ContentHeaders": { "Content-Length": [ "22" ], diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpCheckNameAvailability.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpCheckNameAvailability.Tests.ps1 index 1bf484bb83de..cab8452adccd 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpCheckNameAvailability.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpCheckNameAvailability.Tests.ps1 @@ -14,8 +14,9 @@ if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzSelfHelpCheckNameAva . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Invoke-AzSelfHelpCheckNameAvailability' { - It 'PostExpanded' { +Describe 'Invoke-AzSelfHelpCheckNameAvailability' -Tag 'LiveOnly'{ + It 'Post' { + $resourceName = RandomString -allChars $true -len 10 $scope = "/subscriptions/$($env.SubscriptionId)" $CHECKNAMEAVAILABILITYREQUEST = [ordered]@{ "name" ="helloworld" diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpContinueTroubleshooter.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpContinueTroubleshooter.Recording.json new file mode 100644 index 000000000000..25bceb4179fe --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpContinueTroubleshooter.Recording.json @@ -0,0 +1,120 @@ +{ + "Invoke-AzSelfHelpContinueTroubleshooter+[NoContext]+ContinueExpanded+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/1ca63fc8-3c04-4009-8a70-87dc5bc24deb?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/1ca63fc8-3c04-4009-8a70-87dc5bc24deb?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"solutionId\": \"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\n \"parameters\": {\n \"ResourceUri\": \"/subscriptions/02d59989-f8a9-4b69-9919-1ef51df4eff6\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "184" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "521840b5-7af2-419b-95f3-ba41bac7e103" ], + "x-ms-correlation-request-id": [ "521840b5-7af2-419b-95f3-ba41bac7e103" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204537Z:521840b5-7af2-419b-95f3-ba41bac7e103" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 86040DF188B2476B9D6278CC6FCBD64C Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:45:37Z" ], + "Date": [ "Fri, 05 Apr 2024 20:45:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "980" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/1ca63fc8-3c04-4009-8a70-87dc5bc24deb\",\"name\":\"1ca63fc8-3c04-4009-8a70-87dc5bc24deb\",\"type\":\"Microsoft.Help/troubleshooters\",\"properties\":{\"provisioningState\":\"AutoContinue\",\"solutionId\":\"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\"steps\":[{\"id\":\"52401b7d-3bb7-4d0f-91f5-f9b81294124a\",\"title\":\"Intro Step\",\"type\":\"Decision\",\"executionStatus\":\"Success\",\"isLastStep\":false,\"inputs\":[{\"questionId\":\"0\",\"questionType\":\"MultiLineInfoBox\",\"questionContent\":\"{\\\"title\\\":\\\"Connectivity Guided Troubleshooter\\\",\\\"content\\\":\\\"This guided troubleshooter will enable you to self-troubleshoot your Virtual Machine (VM) SSH issues by checking VM health state, network settings, CPU and memory usage, etc. It typically takes between 3 to 5 minutes to complete the flow.\\\"}\",\"questionContentType\":\"Text\"}]}]}}", + "isContentBase64": false + } + }, + "Invoke-AzSelfHelpContinueTroubleshooter+[NoContext]+ContinueExpanded+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/1ca63fc8-3c04-4009-8a70-87dc5bc24deb?api-version=2024-03-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/1ca63fc8-3c04-4009-8a70-87dc5bc24deb?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "3cfdb099-b103-4dbe-919f-dc4dac62036e" ], + "CommandName": [ "Get-AzSelfHelpTroubleshooter" ], + "FullCommandName": [ "Get-AzSelfHelpTroubleshooter_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "fa2df65c-7920-4b82-baed-c1e249985ea4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "fa2df65c-7920-4b82-baed-c1e249985ea4" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204538Z:fa2df65c-7920-4b82-baed-c1e249985ea4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: ECD9B11EC58B4A18B1B8006712B9DE00 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:45:37Z" ], + "Date": [ "Fri, 05 Apr 2024 20:45:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "980" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/1ca63fc8-3c04-4009-8a70-87dc5bc24deb\",\"name\":\"1ca63fc8-3c04-4009-8a70-87dc5bc24deb\",\"type\":\"Microsoft.Help/troubleshooters\",\"properties\":{\"provisioningState\":\"AutoContinue\",\"solutionId\":\"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\"steps\":[{\"id\":\"52401b7d-3bb7-4d0f-91f5-f9b81294124a\",\"title\":\"Intro Step\",\"type\":\"Decision\",\"executionStatus\":\"Success\",\"isLastStep\":false,\"inputs\":[{\"questionId\":\"0\",\"questionType\":\"MultiLineInfoBox\",\"questionContent\":\"{\\\"title\\\":\\\"Connectivity Guided Troubleshooter\\\",\\\"content\\\":\\\"This guided troubleshooter will enable you to self-troubleshoot your Virtual Machine (VM) SSH issues by checking VM health state, network settings, CPU and memory usage, etc. It typically takes between 3 to 5 minutes to complete the flow.\\\"}\",\"questionContentType\":\"Text\"}]}]}}", + "isContentBase64": false + } + }, + "Invoke-AzSelfHelpContinueTroubleshooter+[NoContext]+ContinueExpanded+$POST+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/1ca63fc8-3c04-4009-8a70-87dc5bc24deb/continue?api-version=2024-03-01-preview+3": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/1ca63fc8-3c04-4009-8a70-87dc5bc24deb/continue?api-version=2024-03-01-preview", + "Content": "{\n \"stepId\": \"52401b7d-3bb7-4d0f-91f5-f9b81294124a\"\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "54" ] + } + }, + "Response": { + "StatusCode": 204, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "5545cc59-995c-4022-bf06-36fe9faf8b89" ], + "x-ms-correlation-request-id": [ "5545cc59-995c-4022-bf06-36fe9faf8b89" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204539Z:5545cc59-995c-4022-bf06-36fe9faf8b89" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: B462EE154A1F4BC797240F5EE7409B02 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:45:38Z" ], + "Date": [ "Fri, 05 Apr 2024 20:45:38 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ] + }, + "Content": null, + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpContinueTroubleshooter.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpContinueTroubleshooter.Tests.ps1 index d2b14f5272fe..b18bb9f99a4c 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpContinueTroubleshooter.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpContinueTroubleshooter.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzSelfHelpContinueTrou . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Invoke-AzSelfHelpContinueTroubleshooter' -Tag 'LiveOnly' { +Describe 'Invoke-AzSelfHelpContinueTroubleshooter' -Tag 'LiveOnly'{ It 'ContinueExpanded' { { $resourceName = New-Guid $parameters = [ordered]@{ diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.Recording.json new file mode 100644 index 000000000000..0b1b6409731d --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.Recording.json @@ -0,0 +1,41 @@ +{ + "Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope+[NoContext]+PostExpanded+$POST+https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/discoverSolutions?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/discoverSolutions?api-version=2024-03-01-preview", + "Content": "{\n \"issueSummary\": \"Billing Issues\"\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "38" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "070af9ab-6964-4cf0-a3d8-99aa84e98143" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "070af9ab-6964-4cf0-a3d8-99aa84e98143" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204555Z:070af9ab-6964-4cf0-a3d8-99aa84e98143" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 3608B16DBA924CABB22CA86498D08401 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:45:53Z" ], + "Date": [ "Fri, 05 Apr 2024 20:45:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "12" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[]}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.Tests.ps1 new file mode 100644 index 000000000000..5b5f3287b7b2 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope' -Tag 'LiveOnly'{ + It 'PostExpanded' { + { + Invoke-AzSelfHelpDiscoverySolutionNlpSubscriptionScope -SubscriptionId $env.SubscriptionId -IssueSummary "Billing Issues" + } | Should -Not -Throw + } +} diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.Recording.json new file mode 100644 index 000000000000..dda7611256d3 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.Recording.json @@ -0,0 +1,41 @@ +{ + "Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope+[NoContext]+PostExpanded+$POST+https://management.azure.com/providers/Microsoft.Help/discoverSolutions?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/providers/Microsoft.Help/discoverSolutions?api-version=2024-03-01-preview", + "Content": "{\n \"issueSummary\": \"Billing Issues\"\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "38" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a98dd041-ba25-4734-bf47-98eeeb418b99" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "a98dd041-ba25-4734-bf47-98eeeb418b99" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204610Z:a98dd041-ba25-4734-bf47-98eeeb418b99" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 090149E5DE854A96B8076234E4BFA4D5 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:46:09Z" ], + "Date": [ "Fri, 05 Apr 2024 20:46:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "12" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[]}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.Tests.ps1 new file mode 100644 index 000000000000..a00516de918a --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope' -Tag 'LiveOnly'{ + It 'PostExpanded' { + { + Invoke-AzSelfHelpDiscoverySolutionNlpTenantScope -IssueSummary "Billing Issues" + } | Should -Not -Throw + } +} diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpWarmSolutionUp.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpWarmSolutionUp.Recording.json new file mode 100644 index 000000000000..83e3f97cc187 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpWarmSolutionUp.Recording.json @@ -0,0 +1,38 @@ +{ + "Invoke-AzSelfHelpWarmSolutionUp+[NoContext]+WarmExpanded+$POST+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/mig5lps1nd/warmup?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/mig5lps1nd/warmup?api-version=2024-03-01-preview", + "Content": "{\n \"parameters\": {\n \"ProductId\": \"13491\"\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "50" ] + } + }, + "Response": { + "StatusCode": 204, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "d6fd6241-3468-40ff-8121-968d773e3767" ], + "x-ms-correlation-request-id": [ "d6fd6241-3468-40ff-8121-968d773e3767" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204626Z:d6fd6241-3468-40ff-8121-968d773e3767" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: D7D8B1AF09F44E5AA5973A61E4FDDA6A Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:46:24Z" ], + "Date": [ "Fri, 05 Apr 2024 20:46:25 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ] + }, + "Content": null, + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpWarmSolutionUp.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpWarmSolutionUp.Tests.ps1 new file mode 100644 index 000000000000..b2f3fd952178 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Invoke-AzSelfHelpWarmSolutionUp.Tests.ps1 @@ -0,0 +1,27 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzSelfHelpWarmSolutionUp')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzSelfHelpWarmSolutionUp.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-AzSelfHelpWarmSolutionUp' -Tag 'LiveOnly'{ + It 'WarmExpanded' { + { + $resourceName = RandomString -allChars $false -len 10 + $parameters = [ordered]@{ + "ProductId" = "13491" + } + Invoke-AzSelfHelpWarmSolutionUp -Scope $env.scope -SolutionResourceName $resourceName -Parameter $parameters + } | Should -Not -Throw + } +} diff --git a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpDiagnostic.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpDiagnostic.Recording.json new file mode 100644 index 000000000000..93550d634c8e --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpDiagnostic.Recording.json @@ -0,0 +1,130 @@ +{ + "New-AzSelfHelpDiagnostic+[NoContext]+CreateExpanded+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/yku6n4wiej?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/yku6n4wiej?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"insights\": [\n {\n \"solutionId\": \"Demo2InsightV2\"\n }\n ]\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "104" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Diagnostics/yku6n4wiej/operationResults/0b4e0071-7115-4d30-b75e-874f9163e87f?api-version=2024-03-01-preview\u0026t=638479468022616431\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtGcrVIgwMRo8mtAqJbl-t1oT9_g6iTDwGRm2XP9UklUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzA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TIwMDEoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD4mRGDGmDi9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=CBb_6a0dy8x2Riy2CmY-K-kmh6a8MWhRthvukNkOivKH8xqvSqwk_e2QU3IN1jdYSJoYHlt1vufTkfE5q5uWRhjzcYy777_5PWHfGXDPvG6osfzROfAIpFR5rMoJGp69sR3uGIEGRhdtOueHtwcsuIegtU3sI2v6S8wzObR2GlknA1dWLlJcc5m7YxAZXjfCKnMwu9k4g3NrpmZtOA5YMbExoLcGZ4jYgeIjlwVndykI10BbAR7XQPm0TxYYmnLXGl0tE4beVEcziBRcj6mDR0w1sRv8tePbZ-nCHaOy8erJkt6ooRsjSGJz_GLVwtlQEzFEQbAo3iqkdbVWZjxUnA\u0026h=Lx0vzcaOcxNdl9S3LbiCm2977QtEHyC8j2CZWVXXQXI" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "74" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Diagnostics/yku6n4wiej/operationResults/0b4e0071-7115-4d30-b75e-874f9163e87f?api-version=2024-03-01-preview\u0026t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K0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=lE6ugIzuhm4EcZ62LnMyrFhXnYhNrnxfO_DEfHElvJd45KA5vwLMYT3Pl9y_Ea3ur18WzRUiMSn0PiiNOsqXOLpFrpzIqaPJzvL7x-lCbg2npwM9ht_jCxxAgOCvkIlPATuWCjSk720-Q4x3BjfZA-TBrTNquBciwRBCNNxMqekeJbM1gDt7WyHdKgp6fkm2zu8qCEFBQx-6qxaf4ISPOO-IBTk5zzkOTeIinUT3LeAdussQJiDz_yVAAdOhLAjeMA8QK2xzY58T5ftR3YChwIvySKWix5QU6ZMtO0B0qtJBH-Dv5hJBeo26xtnPHNz5ZxrHQMmOatoeIT_1oDQumw\u0026h=DFXFbWCR-mA_gO01byF_HInJry4UhEV6INHialLQqWM" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "ec48d8a4-5219-4927-811f-ba305c71c358" ], + "x-ms-correlation-request-id": [ "ec48d8a4-5219-4927-811f-ba305c71c358" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204642Z:ec48d8a4-5219-4927-811f-ba305c71c358" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E78AAE4A3F2447B39407458B914FCD29 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:46:41Z" ], + "Date": [ "Fri, 05 Apr 2024 20:46:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "346" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/yku6n4wiej\",\"name\":\"yku6n4wiej\",\"type\":\"Microsoft.Help/Diagnostics\",\"properties\":{\"provisioningState\":\"Running\",\"acceptedAt\":\"2024-04-05T20:46:42.1848827Z\"}}", + "isContentBase64": false + } + }, + "New-AzSelfHelpDiagnostic+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Diagnostics/yku6n4wiej/operationResults/0b4e0071-7115-4d30-b75e-874f9163e87f?api-version=2024-03-01-preview\u0026t=638479468022460218\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-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zkOTeIinUT3LeAdussQJiDz_yVAAdOhLAjeMA8QK2xzY58T5ftR3YChwIvySKWix5QU6ZMtO0B0qtJBH-Dv5hJBeo26xtnPHNz5ZxrHQMmOatoeIT_1oDQumw\u0026h=DFXFbWCR-mA_gO01byF_HInJry4UhEV6INHialLQqWM+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Diagnostics/yku6n4wiej/operationResults/0b4e0071-7115-4d30-b75e-874f9163e87f?api-version=2024-03-01-preview\u0026t=638479468022460218\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtGcrVIgwMRo8mtAqJbl-t1oT9_g6iTDwGRm2XP9UklUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUH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MENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD4mRGDGmDi9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=lE6ugIzuhm4EcZ62LnMyrFhXnYhNrnxfO_DEfHElvJd45KA5vwLMYT3Pl9y_Ea3ur18WzRUiMSn0PiiNOsqXOLpFrpzIqaPJzvL7x-lCbg2npwM9ht_jCxxAgOCvkIlPATuWCjSk720-Q4x3BjfZA-TBrTNquBciwRBCNNxMqekeJbM1gDt7WyHdKgp6fkm2zu8qCEFBQx-6qxaf4ISPOO-IBTk5zzkOTeIinUT3LeAdussQJiDz_yVAAdOhLAjeMA8QK2xzY58T5ftR3YChwIvySKWix5QU6ZMtO0B0qtJBH-Dv5hJBeo26xtnPHNz5ZxrHQMmOatoeIT_1oDQumw\u0026h=DFXFbWCR-mA_gO01byF_HInJry4UhEV6INHialLQqWM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "2ac5c3db-12ee-433b-96f8-1ba6b0ca22db" ], + "CommandName": [ "New-AzSelfHelpDiagnostic" ], + "FullCommandName": [ "New-AzSelfHelpDiagnostic_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "38552cba-a114-4cad-b4c4-3c0fa784c792" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "38552cba-a114-4cad-b4c4-3c0fa784c792" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204712Z:38552cba-a114-4cad-b4c4-3c0fa784c792" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 3694643DCBD0466EA8A6306A0D6E4CD7 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:47:12Z" ], + "Date": [ "Fri, 05 Apr 2024 20:47:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "229" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Diagnostics/yku6n4wiej/operationResults/0b4e0071-7115-4d30-b75e-874f9163e87f\",\"name\":\"0b4e0071-7115-4d30-b75e-874f9163e87f\",\"status\":\"Succeeded\"}", + "isContentBase64": false + } + }, + "New-AzSelfHelpDiagnostic+[NoContext]+CreateExpanded+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/yku6n4wiej?api-version=2024-03-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/yku6n4wiej?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "2ac5c3db-12ee-433b-96f8-1ba6b0ca22db" ], + "CommandName": [ "New-AzSelfHelpDiagnostic" ], + "FullCommandName": [ "New-AzSelfHelpDiagnostic_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c4d379ba-d20f-40b5-a9d2-70403b1346bf" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "74" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "c4d379ba-d20f-40b5-a9d2-70403b1346bf" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204713Z:c4d379ba-d20f-40b5-a9d2-70403b1346bf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 6A4D9AEC59E04E3D81955777B989C4C4 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:47:12Z" ], + "Date": [ "Fri, 05 Apr 2024 20:47:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2289" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/diagnostics/yku6n4wiej\",\"name\":\"yku6n4wiej\",\"type\":\"Microsoft.Help/Diagnostics\",\"properties\":{\"provisioningState\":\"Succeeded\",\"acceptedAt\":\"2024-04-05T20:46:42.1848827Z\",\"diagnostics\":[{\"solutionId\":\"Demo2InsightV2\",\"status\":\"Succeeded\",\"insights\":[{\"id\":\"perfinsights-available-linux\",\"title\":\"Windows Unable to Boot Test hardcoded string for unknown resource (Demo Insight)\",\"results\":\"\u003c!--issueDescription--\u003e\\n\u003cp\u003eWe have detected that PerfInsights is already installed on your VM. You can run PerfInsights on-demand through the Portal and view reports for your analysis.\u003c/p\u003e\\n\u003c!--/issueDescription--\u003e\\n\u003cp\u003ePerfInsights is a diagnostics tool that can help you analyze operating system level metrics such as:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003eBest Practices recommendations for Linux\u003c/li\u003e\\n\u003cli\u003eTop CPU consumers\u003c/li\u003e\\n\u003cli\u003eTop Memory consumers\u003c/li\u003e\\n\u003cli\u003eStorage/RAID/LVM layout\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch2\u003e\u003cstrong\u003eRecommended Steps\u003c/strong\u003e\u003c/h2\u003e\\n\u003cp\u003e\u003ca data-blade=\\\"Microsoft_Azure_Compute.PerformanceDiagnosticsBlade.resourceId.$resourceId\\\" button-data-blade=\\\"button-data-blade\\\"\u003eRun PerfInsights\u003c/a\u003e\u003c/p\u003e\\n\u003cp\u003eFor the machine \u003c!--$vmname--\u003e[vmname]\u003c!--/$vmname--\u003e, you can \u003ca href=\\\"https://portal.azure.com/#@microsoft.onmicrosoft.com/resource/{$resourceIdDecoded}/performanceDiagnostics\\\"\u003eaccess PerfInsights here\u003c/a\u003e and review results directly in the Azure portal.\u003c/p\u003e\\n\u003cp\u003eYou may also \u003ca href=\\\"https://docs.microsoft.com/azure/virtual-machines/troubleshooting/performance-diagnostics#install-and-run-performance-diagnostics-on-your-vm\\\"\u003edownload PerfInsights\u003c/a\u003e and run it on your virtual machine.\u003c/p\u003e\\n\u003cp\u003eIf you open a support case, attach the PerfInsights report for the Support Engineer to analyze.\u003c/p\u003e\\n\u003ch2\u003e\u003cstrong\u003eRecommended Documents\u003c/strong\u003e\u003c/h2\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/virtual-machines/troubleshooting/how-to-use-perfinsights\\\"\u003eHow to use PerfInsights\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-performance-bottlenecks-linux\\\"\u003eTroubleshoot performance and isolate bottlenecks in Linux\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\",\"importanceLevel\":\"Warning\"}]}]}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpDiagnostic.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpDiagnostic.Tests.ps1 index d1e443b00711..285da96b1fb9 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpDiagnostic.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpDiagnostic.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzSelfHelpDiagnostic')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzSelfHelpDiagnostic' -Tag 'LiveOnly' { +Describe 'New-AzSelfHelpDiagnostic' -Tag 'LiveOnly'{ It 'CreateExpanded' { { $resourceName = RandomString -allChars $false -len 10 diff --git a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSimplifiedSolution.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSimplifiedSolution.Recording.json new file mode 100644 index 000000000000..98bb96dd036d --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSimplifiedSolution.Recording.json @@ -0,0 +1,130 @@ +{ + "New-AzSelfHelpSimplifiedSolution+[NoContext]+Create+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"solutionId\": \"9004345-7759\",\n \"parameters\": {\n \"SearchText\": \"Billing\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "115" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5/operationResults/a8ace90b-9ffb-4106-8979-57aaeff83c51?api-version=2024-03-01-preview\u0026t=638479468481390902\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMw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q_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=e88UI-TU1AYK7dsBbUE94kWjc3LpsZfg1Cxh3kbBKUqCLYNPwqb_kRj8ob7H9XnmM4WDBHc5ytuDo7EHkCqmprI1Z8bBaf3t-M2yz0021Q7yDiHgbhYnSNL5M7gSJtbYjXAXm2FNcT4QpvQ1vUwutVirKSrPfnvNwPelyi1bWqOv9ieaAMI0skUfbK6XrRpOYfo1Vh4os3Wo-3CiRXtuFbmZaytuyevmxzKwRPDbsVL-poa7vBIa7iFd2owB12kEKwKhecwTE42CtQmrnopFtNRj4qJCKb_zvTc8VqFdCm64Fi9SKnPb91XdguGRJkoImjL__KH9Et_gzhXxW00B0Q\u0026h=K6Qjh4u7m__UwPj-QHH8OQ9SpSO3MEKsH4uPoxR5kGw" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5/operationResults/a8ace90b-9ffb-4106-8979-57aaeff83c51?api-version=2024-03-01-preview\u0026t=638479468481390902\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY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VmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=e88UI-TU1AYK7dsBbUE94kWjc3LpsZfg1Cxh3kbBKUqCLYNPwqb_kRj8ob7H9XnmM4WDBHc5ytuDo7EHkCqmprI1Z8bBaf3t-M2yz0021Q7yDiHgbhYnSNL5M7gSJtbYjXAXm2FNcT4QpvQ1vUwutVirKSrPfnvNwPelyi1bWqOv9ieaAMI0skUfbK6XrRpOYfo1Vh4os3Wo-3CiRXtuFbmZaytuyevmxzKwRPDbsVL-poa7vBIa7iFd2owB12kEKwKhecwTE42CtQmrnopFtNRj4qJCKb_zvTc8VqFdCm64Fi9SKnPb91XdguGRJkoImjL__KH9Et_gzhXxW00B0Q\u0026h=K6Qjh4u7m__UwPj-QHH8OQ9SpSO3MEKsH4uPoxR5kGw" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "06bb664a-3472-4caf-acf8-81c77de17431" ], + "x-ms-correlation-request-id": [ "06bb664a-3472-4caf-acf8-81c77de17431" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204728Z:06bb664a-3472-4caf-acf8-81c77de17431" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 659A4AA8C33941E292DEE1AC9D4FCE2D Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:47:27Z" ], + "Date": [ "Fri, 05 Apr 2024 20:47:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "21281" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5\",\"name\":\"hbk16wuga5\",\"type\":\"Microsoft.Help/simplifiedSolutions\",\"properties\":{\"title\":\"Catch-all: Microsoft Graph API issues\",\"content\":\"\u003ch2\u003eTroubleshoot issues with the Microsoft Graph API\u003c/h2\u003e\\n\u003cp\u003e\u003cstrong\u003eNotice:\u003c/strong\u003e Azure Active Directory (Azure AD) is being renamed to Microsoft Entra ID. No customer action is required. Capabilities, licensing, pricing, service level agreements, APIs, authentication and developer experiences are not impacted. \u003ca href=\\\"https://learn.microsoft.com/azure/active-directory/fundamentals/new-name\\\"\u003eLearn more\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eUse the following guidance to troubleshoot Microsoft Graph API issues, including issues related to authentication, authorization, and API. You\u0027ll also find information about the end of support for Azure AD Authentication Library (ADAL) and Azure AD Graph API.\u003c/p\u003e\\n\u003cp\u003eScan the following headings and select one or more that will help resolve your issue.\u003c/p\u003e\\n\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eEnd of support for Azure AD Graph API and Azure Active Directory Authentication Library\u003c/h2\u003e\u003ch3\u003eAzure Active Directory Graph API deprecation\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eAzure AD Graph APIs will be retired by March 30, 2024.\u003c/em\u003e See \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270\\\"\u003eImportant: Azure AD Graph Retirement and Powershell Module Deprecation\u003c/a\u003e. We want to make sure that all customers migrate off and discourage applications from taking production dependencies on Azure AD Graph. Investments in the new features and functionalities will be made only to \u003ca href=\\\"https://learn.microsoft.com/graph/overview\\\"\u003eMicrosoft Graph\u003c/a\u003e. Going forward, we\u0027ll continue to support Azure AD Graph with security-related fixes.\u003c/p\u003e\\n\u003cp\u003eWe recommend prioritizing migration from Azure AD Graph to Microsoft Graph. For more information, see \u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-overview\\\"\u003eMigrate Azure AD Graph apps to Microsoft Graph - Microsoft Graph | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eMicrosoft Entra ID and MSOnline PowerShell deprecation\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eMicrosoft Entra ID, Microsoft Entra ID Preview, and MSOnline PowerShell cmdlets will be retired by March 30, 2024 See \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270\\\"\u003eImportant: Azure AD Graph Retirement and Powershell Module Deprecation\u003c/a\u003e.\u003c/em\u003e The three modules will continue to work with minimal investment, apart from security updates.\u003c/p\u003e\\n\u003cp\u003eWe encourage you to continue migrating to The Microsoft Graph PowerShell SDK because that continues to be where all our current and future PowerShell investments are being made. We\u0027re also working on tools and documentation for migrating existing scripts and PowerShell processes that rely on the Azure AD Graph and MSOnline module to the Microsoft Graph PowerShell SDK.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://learn.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0\\\"\u003eFind Microsoft Entra ID and MSOnline cmdlets in Microsoft Graph PowerShell | Microsoft Docs\u003c/a\u003e and \u003ca href=\\\"https://learn.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0\\\"\u003eMigrate from Azure AD PowerShell to the Microsoft Graph PowerShell SDK | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eAzure Active Directory Authentication Library retirement\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eAzure Active Directory Authentication Library (ADAL) end-of-support is on June 30, 2023\u003c/em\u003e. While existing ADAL apps may continue to work, no support or security fixes will be provided past end-of-life. In addition, there are no planned ADAL releases prior to end-of-life for features, or planned support for new platform versions.\u003c/p\u003e\\n\u003cp\u003eWe recommend prioritizing the migration of your applications to Microsoft Authentication Library (MSAL). For more information about ADAL to MSAL migration, see \u003ca href=\\\"https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-migration\\\"\u003eMigrate to the Microsoft Authentication Library - Microsoft Entra | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/microsoft-entra-change-announcements-september-2022-train/ba-p/2967454\\\"\u003eSeptember 2022 change announcements\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eVideos: Migrating from Azure AD Graph to Microsoft Graph\u003c/h3\u003e\\n\u003cp\u003eThe following videos explain more about migrating from Azure AD Graph to Microsoft Graph.\u003c/p\u003e\\n\u003cdiv class=\\\"simplified-solution-video-group-container\\\"\\\"\u003e\u003cdiv class=\\\"simplified-solution-video-container\\\"\u003e \u003ciframe class=\\\"simplified-solution-video-group-iframe\\\"\\\" id=\\\"\\\" src=\\\"https://www.youtube-nocookie.com/embed/iKK-F2PyoQU?enablejsapi=1\u0026rel=0 title=\\\"How to migrate from Azure AD Graph to Microsoft Graph\\\"\\\" frameborder=\\\"0\\\" allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003cbr/\u003e\u003cdiv class=\\\"simplified-solution-video-container\\\"\u003e \u003ciframe class=\\\"simplified-solution-video-group-iframe\\\"\\\" id=\\\"\\\" src=\\\"https://www.youtube-nocookie.com/embed/oiXMv0xoH1s?enablejsapi=1\u0026rel=0 title=\\\"How to migrate from Azure AD Graph and MSOL PowerShell to MS Graph PowerShell\\\"\\\" frameborder=\\\"0\\\" allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003cbr/\u003e\u003c/div\u003e\\n\u003cbr /\u003e\u003c/div\u003e\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eTroubleshoot Microsoft Graph API issues\u003c/h2\u003e\u003cp\u003eUse the following troubleshooting guidance to resolve Microsoft Graph API issues.\u003c/p\u003e\\n\u003ch3\u003eAzure AD Graph migration\u003c/h3\u003e\\n\u003cp\u003eFor applications using Azure AD Graph, see \u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-overview\\\"\u003emigrate Azure AD Graph apps to Microsoft Graph\u003c/a\u003e.\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eStart with the \u003ca href=\\\"https://docs.microsoft.com/graph/migrate-azure-ad-graph-planning-checklist\\\"\u003eapp migration planning checklist\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYour Azure app registration portal shows which applications use Azure AD Graph.\u003c/li\u003e\\n\u003cli\u003eReview your apps source code, and if applicable, contact independent software vendors (ISVs) or app providers. Microsoft support can provide a list of Azure AD Graph usage in your tenant.\u003c/li\u003e\\n\u003cli\u003eIf you\u0027re having issues, post a question on \u003ca href=\\\"https://learn.microsoft.com/en-us/answers/topics/azure-ad-graph-deprecation.html\\\"\u003eMicrosoft Q\u0026amp;A\u003c/a\u003e and tag it with \u003ccode\u003eazure-ad-graph-deprecation\u003c/code\u003e, or post your question on \u003ca href=\\\"https://stackoverflow.com/questions/ask\\\"\u003eStackOverflow\u003c/a\u003e with the \u003ccode\u003eazureadgraph-deprecation\u003c/code\u003e tag.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003cp\u003eReview the following resources for more information:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-faq\\\"\u003eAzure AD Graph to Microsoft Graph migration frequently asked questions\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/application-dev-registration-config-grant-permissions-how-to/?WT.mc_id=UI_AAD_Registered_Apps_Support_L2_Overview\\\"\u003eConfigure how users consent to applications\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/application-dev-delegated-and-app-perms/?WT.mc_id=UI_AAD_Registered_Apps_Support_L2_Overview\\\"\u003eHow to recognize differences between delegated and application permissions\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003e\u003cstrong\u003eUpgrade from Microsoft Entra ID and MSOnline PowerShell to Microsoft Graph PowerShell\u003c/strong\u003e\u003c/p\u003e\\n\u003cp\u003e\u003cstrong\u003eMicrosoft Entra ID, Microsoft Entra ID Preview, and MSOnline PowerShell modules are planned for deprecation. Microsoft Graph PowerShell is the PowerShell module to use for interacting with Microsoft Entra ID and other Microsoft services.\u003c/strong\u003e\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#why-upgrade-to-microsoft-graph-powershell\\\"\u003eWhy upgrade to Microsoft Graph PowerShell?\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#upgrading-to-microsoft-graph-powershell\\\"\u003eSteps to follow when upgrading to MS Graph PowerShell\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#limitations\\\"\u003eLimitations\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003e\u003cstrong\u003eCmdlet mappings from Microsoft Entra ID and MSOnline PowerShell modules to MS Graph PowerShell module\u003c/strong\u003e\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0#azure-ad-to-microsoft-graph-powershell-by-category\\\"\u003eMicrosoft Entra ID to Microsoft Graph PowerShell by category\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0#msonline-to-microsoft-graph-powershell\\\"\u003eMSOnline to Microsoft Graph PowerShell\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eAuthentication or authorization issues\u003c/h3\u003e\\n\u003cp\u003eSee the following resources to resolve authentication or authorization issues:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003cp\u003eAuthorization errors can occur for several reasons, most of which generate a 403 error, with a few exceptions. For example, the following scenarios can lead to authorization errors:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-authentication-scenarios\\\"\u003eIncorrect access token acquisition flows\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-v2-scopes\\\"\u003ePoorly configured permission scopes\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-devhowto-multi-tenant-overview#understanding-user-and-admin-consent\\\"\u003eLack of consent\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-permissions-and-consent\\\"\u003eLack of permissions\u003c/a\u003e \u003cbr\u003e\\nFor more information, see \u003ca href=\\\"https://docs.microsoft.com/graph/resolve-auth-errors\\\"\u003eResolve Microsoft Graph authorization errors\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eLearn how to implement the OAuth 2.0 authorization code grant flow. See \u003ca href=\\\"https://docs.microsoft.com/graph/auth-v2-user\\\"\u003eGet access on behalf of a user\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eLearn how to program directly against the code grant (PKCE) flow in your application using any language, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow\\\"\u003eMicrosoft identity platform and OAuth 2.0 authorization code flow\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eConfigure a service and use the OAuth client credentials grant flow to get an access token. See \u003ca href=\\\"https://docs.microsoft.com/graph/auth-v2-service\\\"\u003eGet access without a user\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eProgram directly against the client credentials flow in your application. See \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow\\\"\u003eMicrosoft identity platform and the OAuth 2.0 client credentials flow\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eProgram directly against the resource owner password credential (ROPC) flow in your application. See \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth-ropc\\\"\u003eMicrosoft identity platform and OAuth 2.0 resource owner password credentials\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eThe Microsoft identity platform only supports ROPC for Microsoft Entra tenants, not personal accounts. This means that you must use a tenant-specific endpoint, for example, \u0026quot;//login.microsoftonline.com/{TenantId_or_Name}\u0026quot; or the \u003cem\u003eorganization\u0027s\u003c/em\u003e endpoint.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003ePersonal accounts that are invited to a Microsoft Entra tenant can\u0027t use ROPC.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eAccounts that don\u0027t have passwords can\u0027t sign in through ROPC. In this case, we recommend using a different flow for your app.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eIf users need to use \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/authentication/concept-mfa-howitworks\\\"\u003emultifactor authentication (MFA)\u003c/a\u003e to sign in to the application, they\u0027ll be blocked instead.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eROPC is not supported in \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/hybrid/whatis-fed\\\"\u003ehybrid identity federation\u003c/a\u003e scenarios. For example, Microsoft Entra ID and Active Directory Federation Services (AD FS) previously authenticated on-premises accounts. If users are full-page redirected to an on-premises identity provider, Microsoft Entra ID is not able to test the username and password against that identity provider. \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/hybrid/how-to-connect-pta\\\"\u003ePass-through authentication\u003c/a\u003e is supported with ROPC, however.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eAn exception to a hybrid identity federation scenario would be the following: home realm discovery (HRD) policy with \u003ccode\u003eAllowCloudPasswordValidation\u003c/code\u003e set to \u003ccode\u003eTRUE\u003c/code\u003e will enable ROPC flow to work for federated users when the on-premises password is synced to the cloud. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/manage-apps/configure-authentication-for-federated-users-portal#enable-direct-ropc-authentication-of-federated-users-for-legacy-applications\\\"\u003eEnable direct ROPC authentication of federated users for legacy applications\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eQuery data from API\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eMicrosoft Graph supports optional query parameters you can use to specify and control the amount of data returned in a response. The support for the exact query parameters varies from one API operation to another, and depending on the API, can differ between the v1.0 and beta endpoints. See \u003ca href=\\\"https://docs.microsoft.com/graph/query-parameters#odata-system-query-options\\\"\u003eUse query parameters to customize responses\u003c/a\u003e for more information.\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta\\\"\u003euser resource type\u003c/a\u003e. This represents a Microsoft Entra user account and inherits from directoryObject. For performance reasons, the \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-post-users?view=graph-rest-beta\\\"\u003ecreate\u003c/a\u003e, \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-get?view=graph-rest-beta\\\"\u003eget\u003c/a\u003e, and \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-list?view=graph-rest-beta\\\"\u003elist\u003c/a\u003e operations return only a subset of more commonly used properties by default. These default properties are noted in the \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta#properties\\\"\u003eproperties\u003c/a\u003e section. To get any of the properties that are not returned by default, specify them in a \u003ccode\u003e$select\u003c/code\u003e OData query option.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/attachment?view=graph-rest-1.0\\\"\u003eattachment resource type\u003c/a\u003e. You can add related content to a user event, message, or post in the form of an attachment. Attachment is the base resource for the following derived types of attachments:\\n\u003cul\u003e\\n\u003cli\u003eA file (\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/fileattachment?view=graph-rest-1.0\\\"\u003efileAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003eAn item (contact, event or message, represented by an \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/itemattachment?view=graph-rest-1.0\\\"\u003eitemAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003eA link to a file (\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/referenceattachment?view=graph-rest-1.0\\\"\u003ereferenceAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/schemaextension?view=graph-rest-1.0\\\"\u003eschemaExtension resource type (schema extensions)\u003c/a\u003e. Schema extensions allow you to define a schema to extend and add strongly typed custom data to a resource type. The custom data appears as a complex type on the extended resource. See the \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/report?view=graph-rest-1.0\\\"\u003eschema extension example\u003c/a\u003e to learn how to add custom data to groups.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eMicrosoft Graph API endpoints\u003c/h3\u003e\\n\u003cp\u003eSee the following resources for more information:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide\\\"\u003eOffice 365 URLs and IP address ranges\u003c/a\u003e - This article contains most of the endpoints for Azure and M365, including Azure and Microsoft Graph.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/overview?view=graph-rest-1.0\\\"\u003eMicrosoft Graph REST API v1.0 reference\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/overview?view=graph-rest-beta#call-the-v10-endpoint\\\"\u003eMicrosoft Graph beta endpoint reference\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eReports and logs\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eMicrosoft Entra ID tracks user activity and creates reports that help you understand how your users access and use Microsoft Entra services. Use the Microsoft Graph API for Microsoft Entra ID to analyze the data in these reports and to create custom solutions tailored to your organization\u0027s specific needs. The availability of these activity reports is governed by the Microsoft Entra data retention policies.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003eFor more information, see:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0\\\"\u003eActivity reports API overview\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/reports-monitoring/reference-reports-data-retention#how-long-does-azure-ad-store-the-data\\\"\u003eData retention policies\u003c/a\u003e.\u003cbr\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cul\u003e\\n\u003cli\u003eWith Microsoft Graph, you can access Microsoft 365 usage reports resources to get information about how people in your business are using Microsoft 365 services. For example, you can identify who\u0027s using a service a lot and reaching quotas, or who may not need a Microsoft 365 license at all, see \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/report?view=graph-rest-1.0\\\"\u003eWorking with Microsoft 365 usage reports in Microsoft Graph\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eExpose a web API\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/quickstart-configure-app-expose-web-apis\\\"\u003eQuickStart: Configure an application to expose a web API\u003c/a\u003e. In this QuickStart, register a web API with the Microsoft identity platform and expose it to client apps by adding an example scope. By registering your web API and exposing it through scopes, you can provide permission-based access to its resources to authorized users and client apps that access your API.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cbr /\u003e\u003c/div\u003e\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eCommon issues and solutions\u003c/h2\u003e\u003ch3\u003eThe API I\u0027m calling doesn\u0027t work\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eTest Microsoft Graph APIs in your tenant or a demo tenant. Also, check out the sample queries in \u003ca href=\\\"https://developer.microsoft.com/graph/graph-explorer\\\"\u003eMicrosoft Graph Explorer\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eLearn how to configure the code for your daemon application that calls web APIs, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/scenario-daemon-app-configuration?tabs=dotnet\\\"\u003eDaemon app that calls web APIs - code configuration\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eWhere can I check the status of service availability and connectivity?\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eThe service availability and connectivity of the underlying services that can be accessed through Microsoft Graph can impact on the overall availability and performance of Microsoft Graph.\\n\u003cul\u003e\\n\u003cli\u003eFor Microsoft Entra service health, check the status of \u003cstrong\u003eSecurity + Identity\u003c/strong\u003e services listed in the \u003ca href=\\\"https://azure.microsoft.com/status/\\\"\u003eAzure status page\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eFor Office services that contribute to Microsoft Graph, check the status of services listed in the \u003ca href=\\\"https://portal.office.com/adminportal/home#/servicehealth\\\"\u003eOffice Service Health Dashboard\u003c/a\u003e. Microsoft Graph authorization errors can be a result of several issues, most of which generate a 401 or 403 error.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eWhere can I find more information on errors and known issues?\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/errors\\\"\u003eMicrosoft Graph error response information\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/known-issues\\\"\u003eKnown issues with Microsoft Graph\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003cdiv class=\\\"simplified-solution-web-results-container\\\"\u003e\u003cdiv class=\\\"simplified-solution-web-result-container\\\"\u003e\u003ch5\u003eAzure Docs\u003c/h5\u003e\u003cdiv\u003e\u003ca href=\\\"https://docs.microsoft.com/en-us/azure/programmable-connectivity/azure-programmable-connectivity-billing\\\" target=\\\"_blank\\\"\u003eConsolidated Billing\u003c/a\u003e\u003c/div\u003e\u003cp\u003e...billing, enabling developers to receive a unified invoice from Azure for all their API plans, rather than managing separate bills from various operators. This streamlined approach not only reduces ...\u003c/p\u003e\u003c/div\u003e\u003cbr/\u003e\u003cdiv class=\\\"simplified-solution-web-result-container\\\"\u003e\u003ch5\u003eCommunity\u003c/h5\u003e\u003cdiv\u003e\u003ca href=\\\"https://docs.microsoft.com/answers/questions/928000/\\\" target=\\\"_blank\\\"\u003eazure billing\u003c/a\u003e\u003c/div\u003e\u003cp\u003eI was cancelled my subscription but still it is billing.\u003c/p\u003e\u003c/div\u003e\u003cbr/\u003e\u003c/div\u003e\\n\u003cbr /\u003e\u003c/div\u003e\",\"provisioningState\":\"Succeeded\",\"appendix\":{}}}", + "isContentBase64": false + } + }, + "New-AzSelfHelpSimplifiedSolution+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5/operationResults/a8ace90b-9ffb-4106-8979-57aaeff83c51?api-version=2024-03-01-preview\u0026t=638479468481390902\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtGcrVIgwMRo8mtAqJbl-t1oT9_g6iTDwGRm2XP9UklUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzACh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IwMDEoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD4mRGDGmDi9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=e88UI-TU1AYK7dsBbUE94kWjc3LpsZfg1Cxh3kbBKUqCLYNPwqb_kRj8ob7H9XnmM4WDBHc5ytuDo7EHkCqmprI1Z8bBaf3t-M2yz0021Q7yDiHgbhYnSNL5M7gSJtbYjXAXm2FNcT4QpvQ1vUwutVirKSrPfnvNwPelyi1bWqOv9ieaAMI0skUfbK6XrRpOYfo1Vh4os3Wo-3CiRXtuFbmZaytuyevmxzKwRPDbsVL-poa7vBIa7iFd2owB12kEKwKhecwTE42CtQmrnopFtNRj4qJCKb_zvTc8VqFdCm64Fi9SKnPb91XdguGRJkoImjL__KH9Et_gzhXxW00B0Q\u0026h=K6Qjh4u7m__UwPj-QHH8OQ9SpSO3MEKsH4uPoxR5kGw+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5/operationResults/a8ace90b-9ffb-4106-8979-57aaeff83c51?api-version=2024-03-01-preview\u0026t=638479468481390902\u0026c=MIIHH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rV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=e88UI-TU1AYK7dsBbUE94kWjc3LpsZfg1Cxh3kbBKUqCLYNPwqb_kRj8ob7H9XnmM4WDBHc5ytuDo7EHkCqmprI1Z8bBaf3t-M2yz0021Q7yDiHgbhYnSNL5M7gSJtbYjXAXm2FNcT4QpvQ1vUwutVirKSrPfnvNwPelyi1bWqOv9ieaAMI0skUfbK6XrRpOYfo1Vh4os3Wo-3CiRXtuFbmZaytuyevmxzKwRPDbsVL-poa7vBIa7iFd2owB12kEKwKhecwTE42CtQmrnopFtNRj4qJCKb_zvTc8VqFdCm64Fi9SKnPb91XdguGRJkoImjL__KH9Et_gzhXxW00B0Q\u0026h=K6Qjh4u7m__UwPj-QHH8OQ9SpSO3MEKsH4uPoxR5kGw", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "efbcc707-b087-4718-9fee-f03e8ba046c5" ], + "CommandName": [ "New-AzSelfHelpSimplifiedSolution" ], + "FullCommandName": [ "New-AzSelfHelpSimplifiedSolution_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "0cc55cbc-0768-4365-b620-4294d22f5a1c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "0cc55cbc-0768-4365-b620-4294d22f5a1c" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204758Z:0cc55cbc-0768-4365-b620-4294d22f5a1c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 985E022168B4470F9FF1D6EA74525099 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:47:58Z" ], + "Date": [ "Fri, 05 Apr 2024 20:47:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "237" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5/operationResults/a8ace90b-9ffb-4106-8979-57aaeff83c51\",\"name\":\"a8ace90b-9ffb-4106-8979-57aaeff83c51\",\"status\":\"Succeeded\"}", + "isContentBase64": false + } + }, + "New-AzSelfHelpSimplifiedSolution+[NoContext]+Create+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5?api-version=2024-03-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "efbcc707-b087-4718-9fee-f03e8ba046c5" ], + "CommandName": [ "New-AzSelfHelpSimplifiedSolution" ], + "FullCommandName": [ "New-AzSelfHelpSimplifiedSolution_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a7795f95-6d58-45ef-9d65-7aaefa79f328" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "a7795f95-6d58-45ef-9d65-7aaefa79f328" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204759Z:a7795f95-6d58-45ef-9d65-7aaefa79f328" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 0D4E357DB7E941A298AD47D54E47610E Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:47:58Z" ], + "Date": [ "Fri, 05 Apr 2024 20:47:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "21281" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/simplifiedSolutions/hbk16wuga5\",\"name\":\"hbk16wuga5\",\"type\":\"Microsoft.Help/simplifiedSolutions\",\"properties\":{\"title\":\"Catch-all: Microsoft Graph API issues\",\"content\":\"\u003ch2\u003eTroubleshoot issues with the Microsoft Graph API\u003c/h2\u003e\\n\u003cp\u003e\u003cstrong\u003eNotice:\u003c/strong\u003e Azure Active Directory (Azure AD) is being renamed to Microsoft Entra ID. No customer action is required. Capabilities, licensing, pricing, service level agreements, APIs, authentication and developer experiences are not impacted. \u003ca href=\\\"https://learn.microsoft.com/azure/active-directory/fundamentals/new-name\\\"\u003eLearn more\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eUse the following guidance to troubleshoot Microsoft Graph API issues, including issues related to authentication, authorization, and API. You\u0027ll also find information about the end of support for Azure AD Authentication Library (ADAL) and Azure AD Graph API.\u003c/p\u003e\\n\u003cp\u003eScan the following headings and select one or more that will help resolve your issue.\u003c/p\u003e\\n\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eEnd of support for Azure AD Graph API and Azure Active Directory Authentication Library\u003c/h2\u003e\u003ch3\u003eAzure Active Directory Graph API deprecation\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eAzure AD Graph APIs will be retired by March 30, 2024.\u003c/em\u003e See \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270\\\"\u003eImportant: Azure AD Graph Retirement and Powershell Module Deprecation\u003c/a\u003e. We want to make sure that all customers migrate off and discourage applications from taking production dependencies on Azure AD Graph. Investments in the new features and functionalities will be made only to \u003ca href=\\\"https://learn.microsoft.com/graph/overview\\\"\u003eMicrosoft Graph\u003c/a\u003e. Going forward, we\u0027ll continue to support Azure AD Graph with security-related fixes.\u003c/p\u003e\\n\u003cp\u003eWe recommend prioritizing migration from Azure AD Graph to Microsoft Graph. For more information, see \u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-overview\\\"\u003eMigrate Azure AD Graph apps to Microsoft Graph - Microsoft Graph | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eMicrosoft Entra ID and MSOnline PowerShell deprecation\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eMicrosoft Entra ID, Microsoft Entra ID Preview, and MSOnline PowerShell cmdlets will be retired by March 30, 2024 See \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270\\\"\u003eImportant: Azure AD Graph Retirement and Powershell Module Deprecation\u003c/a\u003e.\u003c/em\u003e The three modules will continue to work with minimal investment, apart from security updates.\u003c/p\u003e\\n\u003cp\u003eWe encourage you to continue migrating to The Microsoft Graph PowerShell SDK because that continues to be where all our current and future PowerShell investments are being made. We\u0027re also working on tools and documentation for migrating existing scripts and PowerShell processes that rely on the Azure AD Graph and MSOnline module to the Microsoft Graph PowerShell SDK.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://learn.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0\\\"\u003eFind Microsoft Entra ID and MSOnline cmdlets in Microsoft Graph PowerShell | Microsoft Docs\u003c/a\u003e and \u003ca href=\\\"https://learn.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0\\\"\u003eMigrate from Azure AD PowerShell to the Microsoft Graph PowerShell SDK | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eAzure Active Directory Authentication Library retirement\u003c/h3\u003e\\n\u003cp\u003e\u003cem\u003eAzure Active Directory Authentication Library (ADAL) end-of-support is on June 30, 2023\u003c/em\u003e. While existing ADAL apps may continue to work, no support or security fixes will be provided past end-of-life. In addition, there are no planned ADAL releases prior to end-of-life for features, or planned support for new platform versions.\u003c/p\u003e\\n\u003cp\u003eWe recommend prioritizing the migration of your applications to Microsoft Authentication Library (MSAL). For more information about ADAL to MSAL migration, see \u003ca href=\\\"https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-migration\\\"\u003eMigrate to the Microsoft Authentication Library - Microsoft Entra | Microsoft Docs\u003c/a\u003e.\u003c/p\u003e\\n\u003cp\u003eFor more information, see \u003ca href=\\\"https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/microsoft-entra-change-announcements-september-2022-train/ba-p/2967454\\\"\u003eSeptember 2022 change announcements\u003c/a\u003e.\u003c/p\u003e\\n\u003ch3\u003eVideos: Migrating from Azure AD Graph to Microsoft Graph\u003c/h3\u003e\\n\u003cp\u003eThe following videos explain more about migrating from Azure AD Graph to Microsoft Graph.\u003c/p\u003e\\n\u003cdiv class=\\\"simplified-solution-video-group-container\\\"\\\"\u003e\u003cdiv class=\\\"simplified-solution-video-container\\\"\u003e \u003ciframe class=\\\"simplified-solution-video-group-iframe\\\"\\\" id=\\\"\\\" src=\\\"https://www.youtube-nocookie.com/embed/iKK-F2PyoQU?enablejsapi=1\u0026rel=0 title=\\\"How to migrate from Azure AD Graph to Microsoft Graph\\\"\\\" frameborder=\\\"0\\\" allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003cbr/\u003e\u003cdiv class=\\\"simplified-solution-video-container\\\"\u003e \u003ciframe class=\\\"simplified-solution-video-group-iframe\\\"\\\" id=\\\"\\\" src=\\\"https://www.youtube-nocookie.com/embed/oiXMv0xoH1s?enablejsapi=1\u0026rel=0 title=\\\"How to migrate from Azure AD Graph and MSOL PowerShell to MS Graph PowerShell\\\"\\\" frameborder=\\\"0\\\" allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003cbr/\u003e\u003c/div\u003e\\n\u003cbr /\u003e\u003c/div\u003e\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eTroubleshoot Microsoft Graph API issues\u003c/h2\u003e\u003cp\u003eUse the following troubleshooting guidance to resolve Microsoft Graph API issues.\u003c/p\u003e\\n\u003ch3\u003eAzure AD Graph migration\u003c/h3\u003e\\n\u003cp\u003eFor applications using Azure AD Graph, see \u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-overview\\\"\u003emigrate Azure AD Graph apps to Microsoft Graph\u003c/a\u003e.\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eStart with the \u003ca href=\\\"https://docs.microsoft.com/graph/migrate-azure-ad-graph-planning-checklist\\\"\u003eapp migration planning checklist\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYour Azure app registration portal shows which applications use Azure AD Graph.\u003c/li\u003e\\n\u003cli\u003eReview your apps source code, and if applicable, contact independent software vendors (ISVs) or app providers. Microsoft support can provide a list of Azure AD Graph usage in your tenant.\u003c/li\u003e\\n\u003cli\u003eIf you\u0027re having issues, post a question on \u003ca href=\\\"https://learn.microsoft.com/en-us/answers/topics/azure-ad-graph-deprecation.html\\\"\u003eMicrosoft Q\u0026amp;A\u003c/a\u003e and tag it with \u003ccode\u003eazure-ad-graph-deprecation\u003c/code\u003e, or post your question on \u003ca href=\\\"https://stackoverflow.com/questions/ask\\\"\u003eStackOverflow\u003c/a\u003e with the \u003ccode\u003eazureadgraph-deprecation\u003c/code\u003e tag.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003cp\u003eReview the following resources for more information:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://learn.microsoft.com/graph/migrate-azure-ad-graph-faq\\\"\u003eAzure AD Graph to Microsoft Graph migration frequently asked questions\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/application-dev-registration-config-grant-permissions-how-to/?WT.mc_id=UI_AAD_Registered_Apps_Support_L2_Overview\\\"\u003eConfigure how users consent to applications\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/application-dev-delegated-and-app-perms/?WT.mc_id=UI_AAD_Registered_Apps_Support_L2_Overview\\\"\u003eHow to recognize differences between delegated and application permissions\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003e\u003cstrong\u003eUpgrade from Microsoft Entra ID and MSOnline PowerShell to Microsoft Graph PowerShell\u003c/strong\u003e\u003c/p\u003e\\n\u003cp\u003e\u003cstrong\u003eMicrosoft Entra ID, Microsoft Entra ID Preview, and MSOnline PowerShell modules are planned for deprecation. Microsoft Graph PowerShell is the PowerShell module to use for interacting with Microsoft Entra ID and other Microsoft services.\u003c/strong\u003e\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#why-upgrade-to-microsoft-graph-powershell\\\"\u003eWhy upgrade to Microsoft Graph PowerShell?\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#upgrading-to-microsoft-graph-powershell\\\"\u003eSteps to follow when upgrading to MS Graph PowerShell\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0#limitations\\\"\u003eLimitations\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003e\u003cstrong\u003eCmdlet mappings from Microsoft Entra ID and MSOnline PowerShell modules to MS Graph PowerShell module\u003c/strong\u003e\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0#azure-ad-to-microsoft-graph-powershell-by-category\\\"\u003eMicrosoft Entra ID to Microsoft Graph PowerShell by category\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0#msonline-to-microsoft-graph-powershell\\\"\u003eMSOnline to Microsoft Graph PowerShell\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eAuthentication or authorization issues\u003c/h3\u003e\\n\u003cp\u003eSee the following resources to resolve authentication or authorization issues:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003cp\u003eAuthorization errors can occur for several reasons, most of which generate a 403 error, with a few exceptions. For example, the following scenarios can lead to authorization errors:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-authentication-scenarios\\\"\u003eIncorrect access token acquisition flows\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-v2-scopes\\\"\u003ePoorly configured permission scopes\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/active-directory-devhowto-multi-tenant-overview#understanding-user-and-admin-consent\\\"\u003eLack of consent\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-permissions-and-consent\\\"\u003eLack of permissions\u003c/a\u003e \u003cbr\u003e\\nFor more information, see \u003ca href=\\\"https://docs.microsoft.com/graph/resolve-auth-errors\\\"\u003eResolve Microsoft Graph authorization errors\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eLearn how to implement the OAuth 2.0 authorization code grant flow. See \u003ca href=\\\"https://docs.microsoft.com/graph/auth-v2-user\\\"\u003eGet access on behalf of a user\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eLearn how to program directly against the code grant (PKCE) flow in your application using any language, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow\\\"\u003eMicrosoft identity platform and OAuth 2.0 authorization code flow\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eConfigure a service and use the OAuth client credentials grant flow to get an access token. See \u003ca href=\\\"https://docs.microsoft.com/graph/auth-v2-service\\\"\u003eGet access without a user\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eProgram directly against the client credentials flow in your application. See \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow\\\"\u003eMicrosoft identity platform and the OAuth 2.0 client credentials flow\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eProgram directly against the resource owner password credential (ROPC) flow in your application. See \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/v2-oauth-ropc\\\"\u003eMicrosoft identity platform and OAuth 2.0 resource owner password credentials\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eThe Microsoft identity platform only supports ROPC for Microsoft Entra tenants, not personal accounts. This means that you must use a tenant-specific endpoint, for example, \u0026quot;//login.microsoftonline.com/{TenantId_or_Name}\u0026quot; or the \u003cem\u003eorganization\u0027s\u003c/em\u003e endpoint.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003ePersonal accounts that are invited to a Microsoft Entra tenant can\u0027t use ROPC.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eAccounts that don\u0027t have passwords can\u0027t sign in through ROPC. In this case, we recommend using a different flow for your app.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eIf users need to use \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/authentication/concept-mfa-howitworks\\\"\u003emultifactor authentication (MFA)\u003c/a\u003e to sign in to the application, they\u0027ll be blocked instead.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eROPC is not supported in \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/hybrid/whatis-fed\\\"\u003ehybrid identity federation\u003c/a\u003e scenarios. For example, Microsoft Entra ID and Active Directory Federation Services (AD FS) previously authenticated on-premises accounts. If users are full-page redirected to an on-premises identity provider, Microsoft Entra ID is not able to test the username and password against that identity provider. \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/hybrid/how-to-connect-pta\\\"\u003ePass-through authentication\u003c/a\u003e is supported with ROPC, however.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003cli\u003e\u003cp\u003eAn exception to a hybrid identity federation scenario would be the following: home realm discovery (HRD) policy with \u003ccode\u003eAllowCloudPasswordValidation\u003c/code\u003e set to \u003ccode\u003eTRUE\u003c/code\u003e will enable ROPC flow to work for federated users when the on-premises password is synced to the cloud. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/manage-apps/configure-authentication-for-federated-users-portal#enable-direct-ropc-authentication-of-federated-users-for-legacy-applications\\\"\u003eEnable direct ROPC authentication of federated users for legacy applications\u003c/a\u003e.\u003c/p\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eQuery data from API\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eMicrosoft Graph supports optional query parameters you can use to specify and control the amount of data returned in a response. The support for the exact query parameters varies from one API operation to another, and depending on the API, can differ between the v1.0 and beta endpoints. See \u003ca href=\\\"https://docs.microsoft.com/graph/query-parameters#odata-system-query-options\\\"\u003eUse query parameters to customize responses\u003c/a\u003e for more information.\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta\\\"\u003euser resource type\u003c/a\u003e. This represents a Microsoft Entra user account and inherits from directoryObject. For performance reasons, the \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-post-users?view=graph-rest-beta\\\"\u003ecreate\u003c/a\u003e, \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-get?view=graph-rest-beta\\\"\u003eget\u003c/a\u003e, and \u003ca href=\\\"https://docs.microsoft.com/graph/api/user-list?view=graph-rest-beta\\\"\u003elist\u003c/a\u003e operations return only a subset of more commonly used properties by default. These default properties are noted in the \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta#properties\\\"\u003eproperties\u003c/a\u003e section. To get any of the properties that are not returned by default, specify them in a \u003ccode\u003e$select\u003c/code\u003e OData query option.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/attachment?view=graph-rest-1.0\\\"\u003eattachment resource type\u003c/a\u003e. You can add related content to a user event, message, or post in the form of an attachment. Attachment is the base resource for the following derived types of attachments:\\n\u003cul\u003e\\n\u003cli\u003eA file (\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/fileattachment?view=graph-rest-1.0\\\"\u003efileAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003eAn item (contact, event or message, represented by an \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/itemattachment?view=graph-rest-1.0\\\"\u003eitemAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003eA link to a file (\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/referenceattachment?view=graph-rest-1.0\\\"\u003ereferenceAttachment\u003c/a\u003e resource).\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/schemaextension?view=graph-rest-1.0\\\"\u003eschemaExtension resource type (schema extensions)\u003c/a\u003e. Schema extensions allow you to define a schema to extend and add strongly typed custom data to a resource type. The custom data appears as a complex type on the extended resource. See the \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/report?view=graph-rest-1.0\\\"\u003eschema extension example\u003c/a\u003e to learn how to add custom data to groups.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eMicrosoft Graph API endpoints\u003c/h3\u003e\\n\u003cp\u003eSee the following resources for more information:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide\\\"\u003eOffice 365 URLs and IP address ranges\u003c/a\u003e - This article contains most of the endpoints for Azure and M365, including Azure and Microsoft Graph.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/overview?view=graph-rest-1.0\\\"\u003eMicrosoft Graph REST API v1.0 reference\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/overview?view=graph-rest-beta#call-the-v10-endpoint\\\"\u003eMicrosoft Graph beta endpoint reference\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eReports and logs\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eMicrosoft Entra ID tracks user activity and creates reports that help you understand how your users access and use Microsoft Entra services. Use the Microsoft Graph API for Microsoft Entra ID to analyze the data in these reports and to create custom solutions tailored to your organization\u0027s specific needs. The availability of these activity reports is governed by the Microsoft Entra data retention policies.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003eFor more information, see:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0\\\"\u003eActivity reports API overview\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/reports-monitoring/reference-reports-data-retention#how-long-does-azure-ad-store-the-data\\\"\u003eData retention policies\u003c/a\u003e.\u003cbr\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cul\u003e\\n\u003cli\u003eWith Microsoft Graph, you can access Microsoft 365 usage reports resources to get information about how people in your business are using Microsoft 365 services. For example, you can identify who\u0027s using a service a lot and reaching quotas, or who may not need a Microsoft 365 license at all, see \u003ca href=\\\"https://docs.microsoft.com/graph/api/resources/report?view=graph-rest-1.0\\\"\u003eWorking with Microsoft 365 usage reports in Microsoft Graph\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eExpose a web API\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/quickstart-configure-app-expose-web-apis\\\"\u003eQuickStart: Configure an application to expose a web API\u003c/a\u003e. In this QuickStart, register a web API with the Microsoft identity platform and expose it to client apps by adding an example scope. By registering your web API and exposing it through scopes, you can provide permission-based access to its resources to authorized users and client apps that access your API.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cbr /\u003e\u003c/div\u003e\u003cdiv class=\\\"simplified-solution-section\\\"\u003e\u003cbr /\u003e\u003ch2\u003eCommon issues and solutions\u003c/h2\u003e\u003ch3\u003eThe API I\u0027m calling doesn\u0027t work\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eTest Microsoft Graph APIs in your tenant or a demo tenant. Also, check out the sample queries in \u003ca href=\\\"https://developer.microsoft.com/graph/graph-explorer\\\"\u003eMicrosoft Graph Explorer\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eLearn how to configure the code for your daemon application that calls web APIs, see \u003ca href=\\\"https://docs.microsoft.com/azure/active-directory/develop/scenario-daemon-app-configuration?tabs=dotnet\\\"\u003eDaemon app that calls web APIs - code configuration\u003c/a\u003e.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eWhere can I check the status of service availability and connectivity?\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003eThe service availability and connectivity of the underlying services that can be accessed through Microsoft Graph can impact on the overall availability and performance of Microsoft Graph.\\n\u003cul\u003e\\n\u003cli\u003eFor Microsoft Entra service health, check the status of \u003cstrong\u003eSecurity + Identity\u003c/strong\u003e services listed in the \u003ca href=\\\"https://azure.microsoft.com/status/\\\"\u003eAzure status page\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eFor Office services that contribute to Microsoft Graph, check the status of services listed in the \u003ca href=\\\"https://portal.office.com/adminportal/home#/servicehealth\\\"\u003eOffice Service Health Dashboard\u003c/a\u003e. Microsoft Graph authorization errors can be a result of several issues, most of which generate a 401 or 403 error.\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eWhere can I find more information on errors and known issues?\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/errors\\\"\u003eMicrosoft Graph error response information\u003c/a\u003e\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/graph/known-issues\\\"\u003eKnown issues with Microsoft Graph\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003cdiv class=\\\"simplified-solution-web-results-container\\\"\u003e\u003cdiv class=\\\"simplified-solution-web-result-container\\\"\u003e\u003ch5\u003eAzure Docs\u003c/h5\u003e\u003cdiv\u003e\u003ca href=\\\"https://docs.microsoft.com/en-us/azure/programmable-connectivity/azure-programmable-connectivity-billing\\\" target=\\\"_blank\\\"\u003eConsolidated Billing\u003c/a\u003e\u003c/div\u003e\u003cp\u003e...billing, enabling developers to receive a unified invoice from Azure for all their API plans, rather than managing separate bills from various operators. This streamlined approach not only reduces ...\u003c/p\u003e\u003c/div\u003e\u003cbr/\u003e\u003cdiv class=\\\"simplified-solution-web-result-container\\\"\u003e\u003ch5\u003eCommunity\u003c/h5\u003e\u003cdiv\u003e\u003ca href=\\\"https://docs.microsoft.com/answers/questions/928000/\\\" target=\\\"_blank\\\"\u003eazure billing\u003c/a\u003e\u003c/div\u003e\u003cp\u003eI was cancelled my subscription but still it is billing.\u003c/p\u003e\u003c/div\u003e\u003cbr/\u003e\u003c/div\u003e\\n\u003cbr /\u003e\u003c/div\u003e\",\"provisioningState\":\"Succeeded\",\"appendix\":{}}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSimplifiedSolution.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSimplifiedSolution.Tests.ps1 new file mode 100644 index 000000000000..6d71fcb4d19c --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSimplifiedSolution.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzSelfHelpSimplifiedSolution')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzSelfHelpSimplifiedSolution.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzSelfHelpSimplifiedSolution' -Tag 'LiveOnly'{ + It 'Create' { + { + $resourceName = RandomString -allChars $false -len 10 + $solutionId = "9004345-7759" + $parameters = [ordered]@{ + + "SearchText" = "Billing" + } + New-AzSelfHelpSimplifiedSolution -Scope $env.scope -SResourceName $resourceName -SolutionId $solutionId -Parameter $parameters + } | Should -Not -Throw + } +} diff --git a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSolution.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSolution.Recording.json new file mode 100644 index 000000000000..11176e478329 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSolution.Recording.json @@ -0,0 +1,130 @@ +{ + "New-AzSelfHelpSolution+[NoContext]+CreateExpanded+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/uf6atzgmwl?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/uf6atzgmwl?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"triggerCriteria\": [\n {\n \"name\": \"SolutionId\",\n \"value\": \"apollo-cognitve-search-custom-skill\"\n }\n ],\n \"parameters\": {\n \"SearchText\": \"Can not Search\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "221" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/uf6atzgmwl/operationResults/0279d5e0-5b6d-4028-9d1b-b4bdcd99b9ea?api-version=2024-03-01-preview\u0026t=638479468941293870\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSG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HSjy4-ezxaw6fu_ask6amAuMny10g-oloZzLRhql834mnk-v4Ulvn1sD45bIWOSWil4E2sr6sViiF74wcwz0P2i-hVjoicO41w9OpH7fNk6tUlobvRuWEBuFCDnp8LLxPMtU17szE6fQgd0pxWGmqjB9iK0NAGSjdhShKCmDlbBY2oQrrudWVOfEkpkT-JN_iqvSCKkTlScW4AWlv7fZLVtlOVKp4p1Q\u0026h=zrMvXqY-5SlIdSQfMMKYWPMBzMDYDZViiLyhbRmw2Xg" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/uf6atzgmwl/operationResults/0279d5e0-5b6d-4028-9d1b-b4bdcd99b9ea?api-version=2024-03-01-preview\u0026t=638479468941137664\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2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RRlRuNiquVIX9Sc0qQ6krx_yBZaFw6erjBC2oJyr-NIoQ\u0026h=43BxRq4zmlQn9UoNAnKk1iI4MY8XWguTWGxv7PqeJZ0" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "18f95bed-c838-4465-90dc-649f67fbc9fc" ], + "x-ms-correlation-request-id": [ "18f95bed-c838-4465-90dc-649f67fbc9fc" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204814Z:18f95bed-c838-4465-90dc-649f67fbc9fc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 168BFBB50AC64F5791356708464E3D36 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:48:13Z" ], + "Date": [ "Fri, 05 Apr 2024 20:48:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "3374" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/uf6atzgmwl\",\"name\":\"uf6atzgmwl\",\"type\":\"Microsoft.Help/Solutions\",\"properties\":{\"title\":\"Issue getting a custom skill to work\",\"content\":\"\u003ch2\u003eResolve issues with a custom skill not working with Cognitive Search\u003c/h2\u003e\\n\u003cp\u003eBuilding a custom skill gives you a way to insert transformations unique to your content. A custom skill executes independently, applying whatever enrichment step you require. For example, you could build custom classification models to differentiate business and financial contracts and documents, or add a speech recognition skill to reach deeper into audio files for relevant content.\u003c/p\u003e\\n\u003cp\u003eIf you\u0027re experiencing issues with a custom skill not working with Cognitive Search, use the following guidance to help resolve your issues.\u003c/p\u003e\\n\u003ch3\u003eTroubleshooting steps\u003c/h3\u003e\\n\u003cp\u003eIf you are having trouble with a custom skill, ensure that:\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eYour skill works with a REST client.\u003c/li\u003e\\n\u003cli\u003eThe custom skill meets the \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003ecustom skill interface guidelines\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eAll indexer run errors and warnings are resolved.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-create-custom-skill-example\\\"\u003eThe skillset definition of the custom skill is valid\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eThe input data matches the schema of your target index. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/search/search-indexer-field-mappings\\\"\u003eField mappings and transformations using Azure Cognitive Search indexers\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYou use \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-debug-session\\\"\u003edebug sessions\u003c/a\u003e to identify and resolve errors, validate changes, and push changes to a production skillset in the AI enrichment pipeline.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003ch3\u003eResources\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003eHow to add a custom skill to a cognitive search pipeline\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\\n\",\"replacementMaps\":{\"webResults\":[{\"searchResults\":[{\"solutionId\":\"MicrosoftQnA_667871\",\"content\":\"...search re-index 3. Validated the the search crawl log from admin Centre 4. Its been 48 hours now after user get added to the site but the crawl is still running...\",\"title\":\"Search Issue\",\"confidence\":\"High\",\"source\":\"MicrosoftQnA\",\"resultType\":\"Community\",\"rank\":1,\"link\":\"https://learn.microsoft.com/answers/questions/667871/\"},{\"solutionId\":\"articles|search|semantic-search-overview.md\",\"content\":\"...search query is a question, and answers are requested, the response will include a text passage that best answers the question, as expressed by the search query.\\n:::image type=\\\"content\\\" source=\\\"media...\",\"title\":\"What is semantic ranking?\",\"confidence\":\"High\",\"source\":\"\",\"resultType\":\"Documentation\",\"rank\":1,\"link\":\"https://docs.microsoft.com/en-us/azure/search/semantic-search-overview#semantic-search-architecture\"}],\"replacementKey\":\"\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\"}]},\"sections\":[],\"solutionId\":\"apollo-cognitve-search-custom-skill\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "New-AzSelfHelpSolution+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/uf6atzgmwl/operationResults/0279d5e0-5b6d-4028-9d1b-b4bdcd99b9ea?api-version=2024-03-01-preview\u0026t=638479468941137664\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbi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Eh7UQLKszeqWeVddF48yvfpcQtYzwit29EjyH-uDNFLslIQI3s_xJW2RaYGr5ZoTWe3j5nlWRRlRuNiquVIX9Sc0qQ6krx_yBZaFw6erjBC2oJyr-NIoQ\u0026h=43BxRq4zmlQn9UoNAnKk1iI4MY8XWguTWGxv7PqeJZ0+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/uf6atzgmwl/operationResults/0279d5e0-5b6d-4028-9d1b-b4bdcd99b9ea?api-version=2024-03-01-preview\u0026t=638479468941137664\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtGcrVIgwMRo8mtAqJbl-t1oT9_g6iTDwGRm2XP9UklUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgY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JTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD4mRGDGmDi9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=FCpXgI3TlimdXKJHFUJ8mFms7ZGkkPUsGcVSqgPsCv_dW4G4S320LtalT-3V8njr__44cSarv1ac0UmODosxQVDTFjnRDd_J6mf0IPIKtUZu4rIV0geaOvcR06s3yoOrUMWzeynZGabon_QS3cvTLknXbzMc11n2Oku5TTKqa2lQVzuCmTcQkmDuK4qpmLe0VSt4AQTC4uaAIYyoUWgvrZF3lu5I-vuAZEh7UQLKszeqWeVddF48yvfpcQtYzwit29EjyH-uDNFLslIQI3s_xJW2RaYGr5ZoTWe3j5nlWRRlRuNiquVIX9Sc0qQ6krx_yBZaFw6erjBC2oJyr-NIoQ\u0026h=43BxRq4zmlQn9UoNAnKk1iI4MY8XWguTWGxv7PqeJZ0", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "54ec54a6-e734-415d-a64b-83c4e319ea45" ], + "CommandName": [ "New-AzSelfHelpSolution" ], + "FullCommandName": [ "New-AzSelfHelpSolution_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d1ea894c-e2c3-48fc-9afc-96d8b6cce73f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "d1ea894c-e2c3-48fc-9afc-96d8b6cce73f" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204844Z:d1ea894c-e2c3-48fc-9afc-96d8b6cce73f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 30675C6549044A4FBE928747ECA45599 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:48:44Z" ], + "Date": [ "Fri, 05 Apr 2024 20:48:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "227" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/uf6atzgmwl/operationResults/0279d5e0-5b6d-4028-9d1b-b4bdcd99b9ea\",\"name\":\"0279d5e0-5b6d-4028-9d1b-b4bdcd99b9ea\",\"status\":\"Succeeded\"}", + "isContentBase64": false + } + }, + "New-AzSelfHelpSolution+[NoContext]+CreateExpanded+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/uf6atzgmwl?api-version=2024-03-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/uf6atzgmwl?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "54ec54a6-e734-415d-a64b-83c4e319ea45" ], + "CommandName": [ "New-AzSelfHelpSolution" ], + "FullCommandName": [ "New-AzSelfHelpSolution_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "6971bfc5-fb6f-4bf5-a168-334cdd577cf8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "6971bfc5-fb6f-4bf5-a168-334cdd577cf8" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204844Z:6971bfc5-fb6f-4bf5-a168-334cdd577cf8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 5A75F25C982E44538B1B3D5B0C43BB19 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:48:44Z" ], + "Date": [ "Fri, 05 Apr 2024 20:48:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "3374" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/uf6atzgmwl\",\"name\":\"uf6atzgmwl\",\"type\":\"Microsoft.Help/Solutions\",\"properties\":{\"title\":\"Issue getting a custom skill to work\",\"content\":\"\u003ch2\u003eResolve issues with a custom skill not working with Cognitive Search\u003c/h2\u003e\\n\u003cp\u003eBuilding a custom skill gives you a way to insert transformations unique to your content. A custom skill executes independently, applying whatever enrichment step you require. For example, you could build custom classification models to differentiate business and financial contracts and documents, or add a speech recognition skill to reach deeper into audio files for relevant content.\u003c/p\u003e\\n\u003cp\u003eIf you\u0027re experiencing issues with a custom skill not working with Cognitive Search, use the following guidance to help resolve your issues.\u003c/p\u003e\\n\u003ch3\u003eTroubleshooting steps\u003c/h3\u003e\\n\u003cp\u003eIf you are having trouble with a custom skill, ensure that:\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eYour skill works with a REST client.\u003c/li\u003e\\n\u003cli\u003eThe custom skill meets the \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003ecustom skill interface guidelines\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eAll indexer run errors and warnings are resolved.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-create-custom-skill-example\\\"\u003eThe skillset definition of the custom skill is valid\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eThe input data matches the schema of your target index. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/search/search-indexer-field-mappings\\\"\u003eField mappings and transformations using Azure Cognitive Search indexers\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYou use \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-debug-session\\\"\u003edebug sessions\u003c/a\u003e to identify and resolve errors, validate changes, and push changes to a production skillset in the AI enrichment pipeline.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003ch3\u003eResources\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003eHow to add a custom skill to a cognitive search pipeline\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\\n\",\"replacementMaps\":{\"webResults\":[{\"searchResults\":[{\"solutionId\":\"MicrosoftQnA_667871\",\"content\":\"...search re-index 3. Validated the the search crawl log from admin Centre 4. Its been 48 hours now after user get added to the site but the crawl is still running...\",\"title\":\"Search Issue\",\"confidence\":\"High\",\"source\":\"MicrosoftQnA\",\"resultType\":\"Community\",\"rank\":1,\"link\":\"https://learn.microsoft.com/answers/questions/667871/\"},{\"solutionId\":\"articles|search|semantic-search-overview.md\",\"content\":\"...search query is a question, and answers are requested, the response will include a text passage that best answers the question, as expressed by the search query.\\n:::image type=\\\"content\\\" source=\\\"media...\",\"title\":\"What is semantic ranking?\",\"confidence\":\"High\",\"source\":\"\",\"resultType\":\"Documentation\",\"rank\":1,\"link\":\"https://docs.microsoft.com/en-us/azure/search/semantic-search-overview#semantic-search-architecture\"}],\"replacementKey\":\"\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\"}]},\"sections\":[],\"solutionId\":\"apollo-cognitve-search-custom-skill\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSolution.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSolution.Tests.ps1 index 91c78cf12d7e..1f036f0e8cd7 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSolution.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpSolution.Tests.ps1 @@ -14,18 +14,17 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzSelfHelpSolution')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzSelfHelpSolution' -Tag 'LiveOnly' { +Describe 'New-AzSelfHelpSolution' -Tag 'LiveOnly'{ It 'CreateExpanded' { { $resourceName = RandomString -allChars $false -len 10 $criteria = [ordered]@{ "name" ="SolutionId" - "value" = "keyvault-lostdeletedkeys-apollo-solution" + "value" = "apollo-cognitve-search-custom-skill" } $parameters = [ordered]@{ - "SearchText" = "Can not RDP" - "vault_name" = "DemoKeyvault" + "SearchText" = "Can not Search" } New-AzSelfHelpSolution -Scope $env.scope -ResourceName $resourceName -TriggerCriterion $criteria -Parameter $parameters diff --git a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpTroubleshooter.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpTroubleshooter.Recording.json new file mode 100644 index 000000000000..6b327314a168 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpTroubleshooter.Recording.json @@ -0,0 +1,40 @@ +{ + "New-AzSelfHelpTroubleshooter+[NoContext]+CreateExpanded+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/7bce8d19-f871-4dcd-be76-3166cf984294?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/7bce8d19-f871-4dcd-be76-3166cf984294?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"solutionId\": \"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\n \"parameters\": {\n \"ResourceUri\": \"/subscriptions/02d59989-f8a9-4b69-9919-1ef51df4eff6\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "184" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "41c132eb-197a-4b70-8e8d-9682355d8c32" ], + "x-ms-correlation-request-id": [ "41c132eb-197a-4b70-8e8d-9682355d8c32" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204859Z:41c132eb-197a-4b70-8e8d-9682355d8c32" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 164F753E81B14288A8E21F61152482F9 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:48:58Z" ], + "Date": [ "Fri, 05 Apr 2024 20:48:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "980" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/7bce8d19-f871-4dcd-be76-3166cf984294\",\"name\":\"7bce8d19-f871-4dcd-be76-3166cf984294\",\"type\":\"Microsoft.Help/troubleshooters\",\"properties\":{\"provisioningState\":\"AutoContinue\",\"solutionId\":\"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\"steps\":[{\"id\":\"6fb7a952-c11d-474c-aeb7-9b4586d8b914\",\"title\":\"Intro Step\",\"type\":\"Decision\",\"executionStatus\":\"Success\",\"isLastStep\":false,\"inputs\":[{\"questionId\":\"0\",\"questionType\":\"MultiLineInfoBox\",\"questionContent\":\"{\\\"title\\\":\\\"Connectivity Guided Troubleshooter\\\",\\\"content\\\":\\\"This guided troubleshooter will enable you to self-troubleshoot your Virtual Machine (VM) SSH issues by checking VM health state, network settings, CPU and memory usage, etc. It typically takes between 3 to 5 minutes to complete the flow.\\\"}\",\"questionContentType\":\"Text\"}]}]}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpTroubleshooter.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpTroubleshooter.Tests.ps1 index 2f2cfbc897e3..721e3442c60b 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpTroubleshooter.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/New-AzSelfHelpTroubleshooter.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzSelfHelpTroubleshooter' . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzSelfHelpTroubleshooter' -Tag 'LiveOnly' { +Describe 'New-AzSelfHelpTroubleshooter' -Tag 'LiveOnly'{ It 'CreateExpanded' { { $resourceName = New-Guid $parameters = [ordered]@{ diff --git a/src/SelfHelp/SelfHelp.Autorest/test/README.md b/src/SelfHelp/SelfHelp.Autorest/test/README.md index 7c752b4c8c43..1969200c6a09 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/README.md +++ b/src/SelfHelp/SelfHelp.Autorest/test/README.md @@ -1,5 +1,5 @@ # Test -This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `..\custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets. +This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `../custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets. ## Info - Modifiable: yes diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Restart-AzSelfHelpTroubleshooter.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Restart-AzSelfHelpTroubleshooter.Recording.json new file mode 100644 index 000000000000..1a4dcaa141ab --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Restart-AzSelfHelpTroubleshooter.Recording.json @@ -0,0 +1,84 @@ +{ + "Restart-AzSelfHelpTroubleshooter+[NoContext]+Restart+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/59352e31-265f-4003-9614-8a975afa2853?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/59352e31-265f-4003-9614-8a975afa2853?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"solutionId\": \"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\n \"parameters\": {\n \"ResourceUri\": \"/subscriptions/02d59989-f8a9-4b69-9919-1ef51df4eff6\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "184" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "6c75f97f-b812-47e4-8dcb-f57e066c5290" ], + "x-ms-correlation-request-id": [ "6c75f97f-b812-47e4-8dcb-f57e066c5290" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204910Z:6c75f97f-b812-47e4-8dcb-f57e066c5290" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 3C2E26E4EF434CDF9112257B937D4D83 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:49:10Z" ], + "Date": [ "Fri, 05 Apr 2024 20:49:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "980" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/59352e31-265f-4003-9614-8a975afa2853\",\"name\":\"59352e31-265f-4003-9614-8a975afa2853\",\"type\":\"Microsoft.Help/troubleshooters\",\"properties\":{\"provisioningState\":\"AutoContinue\",\"solutionId\":\"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\"steps\":[{\"id\":\"0c297df7-e563-4a68-8f4b-7d7d829f27e5\",\"title\":\"Intro Step\",\"type\":\"Decision\",\"executionStatus\":\"Success\",\"isLastStep\":false,\"inputs\":[{\"questionId\":\"0\",\"questionType\":\"MultiLineInfoBox\",\"questionContent\":\"{\\\"title\\\":\\\"Connectivity Guided Troubleshooter\\\",\\\"content\\\":\\\"This guided troubleshooter will enable you to self-troubleshoot your Virtual Machine (VM) SSH issues by checking VM health state, network settings, CPU and memory usage, etc. It typically takes between 3 to 5 minutes to complete the flow.\\\"}\",\"questionContentType\":\"Text\"}]}]}}", + "isContentBase64": false + } + }, + "Restart-AzSelfHelpTroubleshooter+[NoContext]+Restart+$POST+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/troubleshooters/59352e31-265f-4003-9614-8a975afa2853/restart?api-version=2024-03-01-preview+2": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/troubleshooters/59352e31-265f-4003-9614-8a975afa2853/restart?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "9b5c16c9-bf0b-4d21-8274-b6f8f885f8d9" ], + "CommandName": [ "Restart-AzSelfHelpTroubleshooter" ], + "FullCommandName": [ "Restart-AzSelfHelpTroubleshooter_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d892b05e-e820-4641-8240-17ae17ccd8a5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "d892b05e-e820-4641-8240-17ae17ccd8a5" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204910Z:d892b05e-e820-4641-8240-17ae17ccd8a5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 948D2E82F48E4D36BD6AF0024DA72495 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:49:10Z" ], + "Date": [ "Fri, 05 Apr 2024 20:49:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "69" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"troubleshooterResourceName\":\"1d04f8b6-3ab2-4d5d-a341-631aa20e8ccd\"}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Restart-AzSelfHelpTroubleshooter.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Restart-AzSelfHelpTroubleshooter.Tests.ps1 index d2500edf84d0..f14d0a7774b8 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/Restart-AzSelfHelpTroubleshooter.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/Restart-AzSelfHelpTroubleshooter.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Restart-AzSelfHelpTroubleshoo . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Restart-AzSelfHelpTroubleshooter' -Tag 'LiveOnly' { +Describe 'Restart-AzSelfHelpTroubleshooter' -Tag 'LiveOnly'{ It 'Restart' { { $resourceName = New-Guid $parameters = [ordered]@{ diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Stop-AzSelfHelpTroubleshooter.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Stop-AzSelfHelpTroubleshooter.Recording.json new file mode 100644 index 000000000000..efa66d5b005f --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Stop-AzSelfHelpTroubleshooter.Recording.json @@ -0,0 +1,81 @@ +{ + "Stop-AzSelfHelpTroubleshooter+[NoContext]+End+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/8afb06ca-dc4a-4f6d-9de0-5c97508271bf?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/8afb06ca-dc4a-4f6d-9de0-5c97508271bf?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"solutionId\": \"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\n \"parameters\": {\n \"ResourceUri\": \"/subscriptions/02d59989-f8a9-4b69-9919-1ef51df4eff6\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "184" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "4065321b-3096-42c5-847f-e0c25e7916ac" ], + "x-ms-correlation-request-id": [ "4065321b-3096-42c5-847f-e0c25e7916ac" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204921Z:4065321b-3096-42c5-847f-e0c25e7916ac" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 67584A42EC374DCA9FE3CB344F73FBD6 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:49:21Z" ], + "Date": [ "Fri, 05 Apr 2024 20:49:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "980" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/8afb06ca-dc4a-4f6d-9de0-5c97508271bf\",\"name\":\"8afb06ca-dc4a-4f6d-9de0-5c97508271bf\",\"type\":\"Microsoft.Help/troubleshooters\",\"properties\":{\"provisioningState\":\"AutoContinue\",\"solutionId\":\"e104dbdf-9e14-4c9f-bc78-21ac90382231\",\"steps\":[{\"id\":\"792d1984-b3f7-48eb-8642-6314ab76e04b\",\"title\":\"Intro Step\",\"type\":\"Decision\",\"executionStatus\":\"Success\",\"isLastStep\":false,\"inputs\":[{\"questionId\":\"0\",\"questionType\":\"MultiLineInfoBox\",\"questionContent\":\"{\\\"title\\\":\\\"Connectivity Guided Troubleshooter\\\",\\\"content\\\":\\\"This guided troubleshooter will enable you to self-troubleshoot your Virtual Machine (VM) SSH issues by checking VM health state, network settings, CPU and memory usage, etc. It typically takes between 3 to 5 minutes to complete the flow.\\\"}\",\"questionContentType\":\"Text\"}]}]}}", + "isContentBase64": false + } + }, + "Stop-AzSelfHelpTroubleshooter+[NoContext]+End+$POST+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/8afb06ca-dc4a-4f6d-9de0-5c97508271bf/end?api-version=2024-03-01-preview+2": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/troubleshooters/8afb06ca-dc4a-4f6d-9de0-5c97508271bf/end?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "270403c8-0e2a-4cf1-bcb0-4f3a380207c2" ], + "CommandName": [ "Stop-AzSelfHelpTroubleshooter" ], + "FullCommandName": [ "Stop-AzSelfHelpTroubleshooter_End" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 204, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "e5acda74-3fd4-46ee-8aed-f081c7bc3236" ], + "x-ms-correlation-request-id": [ "e5acda74-3fd4-46ee-8aed-f081c7bc3236" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204921Z:e5acda74-3fd4-46ee-8aed-f081c7bc3236" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 8FF0A6DF075F454BBA4878B7B132FC24 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:49:21Z" ], + "Date": [ "Fri, 05 Apr 2024 20:49:21 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ] + }, + "Content": null, + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Stop-AzSelfHelpTroubleshooter.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Stop-AzSelfHelpTroubleshooter.Tests.ps1 index 11291a1fbfce..8b63d5841eef 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/Stop-AzSelfHelpTroubleshooter.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/Stop-AzSelfHelpTroubleshooter.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Stop-AzSelfHelpTroubleshooter . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Stop-AzSelfHelpTroubleshooter' -Tag 'LiveOnly' { +Describe 'Stop-AzSelfHelpTroubleshooter' -Tag 'LiveOnly'{ It 'End' { { $resourceName = New-Guid $parameters = [ordered]@{ diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Update-AzSelfHelpSolution.Recording.json b/src/SelfHelp/SelfHelp.Autorest/test/Update-AzSelfHelpSolution.Recording.json new file mode 100644 index 000000000000..bcc3467ced81 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/test/Update-AzSelfHelpSolution.Recording.json @@ -0,0 +1,258 @@ +{ + "Update-AzSelfHelpSolution+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew?api-version=2024-03-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"triggerCriteria\": [\n {\n \"name\": \"SolutionId\",\n \"value\": \"apollo-cognitve-search-custom-skill\"\n }\n ],\n \"parameters\": {\n \"SearchText\": \"Can not Search\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "221" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/obv4cgl9ew/operationResults/b93b51b2-2a87-4824-9b7a-3f52aba850a2?api-version=2024-03-01-preview\u0026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aK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=uN7VPOw8Oe1mqKCWt6MVEs8rKSq53R6ECPGeBW-y4oBtSlcfza7WWH_NRNsiQJrfOoSOgVCF94Cp6g669QxFMf4X_6MmX0QR_3BooPuZ_B2t8kzbVpMfzkbXBtOyxnk1qkK8MpRHdWSPil7e9JgmP2HrLjW9LlMNpHWiokE2Iaxeq3lwJn5t4_xxqQ9q1ijKEKaxQRpZzGWwfYBFm-INifCVGp4k_GMUhUEH1cy7qRy9F0HxrifGS_WMNUQrj9WHmbiFbh3KtDLAdyO4_xL1balVv_HugWKIvI0KFV3wKiw4CLi6femFnxrYDD8eih5G7EGu39_TjkpYKUWlKiKiVQ\u0026h=OfMxMIVn6f1fE7oFCpiVdlyd9bQ3RMbWubX9UzXstQE" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/obv4cgl9ew/operationResults/b93b51b2-2a87-4824-9b7a-3f52aba850a2?api-version=2024-03-01-preview\u0026t=638479469719356719\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkE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pD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=uN7VPOw8Oe1mqKCWt6MVEs8rKSq53R6ECPGeBW-y4oBtSlcfza7WWH_NRNsiQJrfOoSOgVCF94Cp6g669QxFMf4X_6MmX0QR_3BooPuZ_B2t8kzbVpMfzkbXBtOyxnk1qkK8MpRHdWSPil7e9JgmP2HrLjW9LlMNpHWiokE2Iaxeq3lwJn5t4_xxqQ9q1ijKEKaxQRpZzGWwfYBFm-INifCVGp4k_GMUhUEH1cy7qRy9F0HxrifGS_WMNUQrj9WHmbiFbh3KtDLAdyO4_xL1balVv_HugWKIvI0KFV3wKiw4CLi6femFnxrYDD8eih5G7EGu39_TjkpYKUWlKiKiVQ\u0026h=OfMxMIVn6f1fE7oFCpiVdlyd9bQ3RMbWubX9UzXstQE" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "5d2fa9eb-232d-4fdc-83cb-d0c8d3084105" ], + "x-ms-correlation-request-id": [ "5d2fa9eb-232d-4fdc-83cb-d0c8d3084105" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T204931Z:5d2fa9eb-232d-4fdc-83cb-d0c8d3084105" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: B52705211C8E4E71AA426977F96AFF94 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:49:31Z" ], + "Date": [ "Fri, 05 Apr 2024 20:49:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "3374" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew\",\"name\":\"obv4cgl9ew\",\"type\":\"Microsoft.Help/Solutions\",\"properties\":{\"title\":\"Issue getting a custom skill to work\",\"content\":\"\u003ch2\u003eResolve issues with a custom skill not working with Cognitive Search\u003c/h2\u003e\\n\u003cp\u003eBuilding a custom skill gives you a way to insert transformations unique to your content. A custom skill executes independently, applying whatever enrichment step you require. For example, you could build custom classification models to differentiate business and financial contracts and documents, or add a speech recognition skill to reach deeper into audio files for relevant content.\u003c/p\u003e\\n\u003cp\u003eIf you\u0027re experiencing issues with a custom skill not working with Cognitive Search, use the following guidance to help resolve your issues.\u003c/p\u003e\\n\u003ch3\u003eTroubleshooting steps\u003c/h3\u003e\\n\u003cp\u003eIf you are having trouble with a custom skill, ensure that:\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eYour skill works with a REST client.\u003c/li\u003e\\n\u003cli\u003eThe custom skill meets the \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003ecustom skill interface guidelines\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eAll indexer run errors and warnings are resolved.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-create-custom-skill-example\\\"\u003eThe skillset definition of the custom skill is valid\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eThe input data matches the schema of your target index. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/search/search-indexer-field-mappings\\\"\u003eField mappings and transformations using Azure Cognitive Search indexers\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYou use \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-debug-session\\\"\u003edebug sessions\u003c/a\u003e to identify and resolve errors, validate changes, and push changes to a production skillset in the AI enrichment pipeline.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003ch3\u003eResources\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003eHow to add a custom skill to a cognitive search pipeline\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\\n\",\"replacementMaps\":{\"webResults\":[{\"searchResults\":[{\"solutionId\":\"MicrosoftQnA_667871\",\"content\":\"...search re-index 3. Validated the the search crawl log from admin Centre 4. Its been 48 hours now after user get added to the site but the crawl is still running...\",\"title\":\"Search Issue\",\"confidence\":\"High\",\"source\":\"MicrosoftQnA\",\"resultType\":\"Community\",\"rank\":1,\"link\":\"https://learn.microsoft.com/answers/questions/667871/\"},{\"solutionId\":\"articles|search|semantic-search-overview.md\",\"content\":\"...search query is a question, and answers are requested, the response will include a text passage that best answers the question, as expressed by the search query.\\n:::image type=\\\"content\\\" source=\\\"media...\",\"title\":\"What is semantic ranking?\",\"confidence\":\"High\",\"source\":\"\",\"resultType\":\"Documentation\",\"rank\":1,\"link\":\"https://docs.microsoft.com/en-us/azure/search/semantic-search-overview#semantic-search-architecture\"}],\"replacementKey\":\"\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\"}]},\"sections\":[],\"solutionId\":\"apollo-cognitve-search-custom-skill\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "Update-AzSelfHelpSolution+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/obv4cgl9ew/operationResults/b93b51b2-2a87-4824-9b7a-3f52aba850a2?api-version=2024-03-01-preview\u0026t=638479469719356719\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQ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ANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=uN7VPOw8Oe1mqKCWt6MVEs8rKSq53R6ECPGeBW-y4oBtSlcfza7WWH_NRNsiQJrfOoSOgVCF94Cp6g669QxFMf4X_6MmX0QR_3BooPuZ_B2t8kzbVpMfzkbXBtOyxnk1qkK8MpRHdWSPil7e9JgmP2HrLjW9LlMNpHWiokE2Iaxeq3lwJn5t4_xxqQ9q1ijKEKaxQRpZzGWwfYBFm-INifCVGp4k_GMUhUEH1cy7qRy9F0HxrifGS_WMNUQrj9WHmbiFbh3KtDLAdyO4_xL1balVv_HugWKIvI0KFV3wKiw4CLi6femFnxrYDD8eih5G7EGu39_TjkpYKUWlKiKiVQ\u0026h=OfMxMIVn6f1fE7oFCpiVdlyd9bQ3RMbWubX9UzXstQE+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/obv4cgl9ew/operationResults/b93b51b2-2a87-4824-9b7a-3f52aba850a2?api-version=2024-03-01-preview\u0026t=638479469719356719\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZ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mNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=uN7VPOw8Oe1mqKCWt6MVEs8rKSq53R6ECPGeBW-y4oBtSlcfza7WWH_NRNsiQJrfOoSOgVCF94Cp6g669QxFMf4X_6MmX0QR_3BooPuZ_B2t8kzbVpMfzkbXBtOyxnk1qkK8MpRHdWSPil7e9JgmP2HrLjW9LlMNpHWiokE2Iaxeq3lwJn5t4_xxqQ9q1ijKEKaxQRpZzGWwfYBFm-INifCVGp4k_GMUhUEH1cy7qRy9F0HxrifGS_WMNUQrj9WHmbiFbh3KtDLAdyO4_xL1balVv_HugWKIvI0KFV3wKiw4CLi6femFnxrYDD8eih5G7EGu39_TjkpYKUWlKiKiVQ\u0026h=OfMxMIVn6f1fE7oFCpiVdlyd9bQ3RMbWubX9UzXstQE", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "a36e65dd-bd0a-4926-9238-b8654508cbbc" ], + "CommandName": [ "New-AzSelfHelpSolution" ], + "FullCommandName": [ "New-AzSelfHelpSolution_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "198457fd-3138-4903-a4c3-4fc834705faa" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "198457fd-3138-4903-a4c3-4fc834705faa" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T205002Z:198457fd-3138-4903-a4c3-4fc834705faa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 25A533DB823D405F9BDF2E900D6DCD1C Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:50:02Z" ], + "Date": [ "Fri, 05 Apr 2024 20:50:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "227" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/obv4cgl9ew/operationResults/b93b51b2-2a87-4824-9b7a-3f52aba850a2\",\"name\":\"b93b51b2-2a87-4824-9b7a-3f52aba850a2\",\"status\":\"Succeeded\"}", + "isContentBase64": false + } + }, + "Update-AzSelfHelpSolution+[NoContext]+UpdateExpanded+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew?api-version=2024-03-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "a36e65dd-bd0a-4926-9238-b8654508cbbc" ], + "CommandName": [ "New-AzSelfHelpSolution" ], + "FullCommandName": [ "New-AzSelfHelpSolution_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "13d13781-3445-44e6-abb3-4e5e8d91118c" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "13d13781-3445-44e6-abb3-4e5e8d91118c" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T205003Z:13d13781-3445-44e6-abb3-4e5e8d91118c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: B24BD1EEB7C241FB996175465C7E3426 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:50:02Z" ], + "Date": [ "Fri, 05 Apr 2024 20:50:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "3374" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew\",\"name\":\"obv4cgl9ew\",\"type\":\"Microsoft.Help/Solutions\",\"properties\":{\"title\":\"Issue getting a custom skill to work\",\"content\":\"\u003ch2\u003eResolve issues with a custom skill not working with Cognitive Search\u003c/h2\u003e\\n\u003cp\u003eBuilding a custom skill gives you a way to insert transformations unique to your content. A custom skill executes independently, applying whatever enrichment step you require. For example, you could build custom classification models to differentiate business and financial contracts and documents, or add a speech recognition skill to reach deeper into audio files for relevant content.\u003c/p\u003e\\n\u003cp\u003eIf you\u0027re experiencing issues with a custom skill not working with Cognitive Search, use the following guidance to help resolve your issues.\u003c/p\u003e\\n\u003ch3\u003eTroubleshooting steps\u003c/h3\u003e\\n\u003cp\u003eIf you are having trouble with a custom skill, ensure that:\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eYour skill works with a REST client.\u003c/li\u003e\\n\u003cli\u003eThe custom skill meets the \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003ecustom skill interface guidelines\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eAll indexer run errors and warnings are resolved.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-create-custom-skill-example\\\"\u003eThe skillset definition of the custom skill is valid\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eThe input data matches the schema of your target index. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/search/search-indexer-field-mappings\\\"\u003eField mappings and transformations using Azure Cognitive Search indexers\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYou use \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-debug-session\\\"\u003edebug sessions\u003c/a\u003e to identify and resolve errors, validate changes, and push changes to a production skillset in the AI enrichment pipeline.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003ch3\u003eResources\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003eHow to add a custom skill to a cognitive search pipeline\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\\n\",\"replacementMaps\":{\"webResults\":[{\"searchResults\":[{\"solutionId\":\"MicrosoftQnA_667871\",\"content\":\"...search re-index 3. Validated the the search crawl log from admin Centre 4. Its been 48 hours now after user get added to the site but the crawl is still running...\",\"title\":\"Search Issue\",\"confidence\":\"High\",\"source\":\"MicrosoftQnA\",\"resultType\":\"Community\",\"rank\":1,\"link\":\"https://learn.microsoft.com/answers/questions/667871/\"},{\"solutionId\":\"articles|search|semantic-search-overview.md\",\"content\":\"...search query is a question, and answers are requested, the response will include a text passage that best answers the question, as expressed by the search query.\\n:::image type=\\\"content\\\" source=\\\"media...\",\"title\":\"What is semantic ranking?\",\"confidence\":\"High\",\"source\":\"\",\"resultType\":\"Documentation\",\"rank\":1,\"link\":\"https://docs.microsoft.com/en-us/azure/search/semantic-search-overview#semantic-search-architecture\"}],\"replacementKey\":\"\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\"}]},\"sections\":[],\"solutionId\":\"apollo-cognitve-search-custom-skill\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "Update-AzSelfHelpSolution+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew?api-version=2024-03-01-preview+4": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew?api-version=2024-03-01-preview", + "Content": "{\n \"properties\": {\n \"triggerCriteria\": [\n {\n \"name\": \"ReplacementKey\",\n \"value\": \"\\u003c!--85c7bc9e-4405-4e3a-82b0-8c4edc29a04d--\\u003e\"\n }\n ],\n \"parameters\": {\n \"SearchText\": \"Can not Search\"\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "243" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Micro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HSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD4mRGDGmDi9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=X5R9yC3MN9fwwE21CTYw4tGU2emHtqQn8QMdWwpzLPhGss4K_mFjgA5cJXIHFTx5qrcRS3BraGWtPfLXvVm27c5d2N72WZGd55P7O72Nl9a0GYdAMldcJddTRjcc3Erec6HIrWMVhc_oku9LqU5oUP5YPc9vDZQCnfFPuV6uYl_4vn2ALoIDzzrRGFl_4iPlSNaKUxcOEZppuDa4Iae7HXcHjk-ctxWh5XUBwWFTMVQUZayqBKOPaxrTG5NX4VJawcLagkgHQvk30YO3SEQgttxPupOEic5Y6WlRvyZqwhjFrsz-iuUGxhYZ8kK0MMkdwt9qzr8lKeiKZvN-pC9teA\u0026h=SLHDjStVpnO7JZ6O1IZ9cD08ziqmLSd-nEPW4DlwqLo" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/obv4cgl9ew/operationResults/dd98b222-9594-40e5-a8e2-50530bf635d9?api-version=2024-03-01-preview\u0026t=638479470039819176\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQ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u1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=X5R9yC3MN9fwwE21CTYw4tGU2emHtqQn8QMdWwpzLPhGss4K_mFjgA5cJXIHFTx5qrcRS3BraGWtPfLXvVm27c5d2N72WZGd55P7O72Nl9a0GYdAMldcJddTRjcc3Erec6HIrWMVhc_oku9LqU5oUP5YPc9vDZQCnfFPuV6uYl_4vn2ALoIDzzrRGFl_4iPlSNaKUxcOEZppuDa4Iae7HXcHjk-ctxWh5XUBwWFTMVQUZayqBKOPaxrTG5NX4VJawcLagkgHQvk30YO3SEQgttxPupOEic5Y6WlRvyZqwhjFrsz-iuUGxhYZ8kK0MMkdwt9qzr8lKeiKZvN-pC9teA\u0026h=SLHDjStVpnO7JZ6O1IZ9cD08ziqmLSd-nEPW4DlwqLo" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "684eb5c3-5f70-4b26-89b7-67860c7c465c" ], + "x-ms-correlation-request-id": [ "684eb5c3-5f70-4b26-89b7-67860c7c465c" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T205003Z:684eb5c3-5f70-4b26-89b7-67860c7c465c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 27A8193CA94D4EC092904703BF4BAB5E Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:50:03Z" ], + "Date": [ "Fri, 05 Apr 2024 20:50:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "3415" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew\",\"name\":\"obv4cgl9ew\",\"type\":\"Microsoft.Help/Solutions\",\"properties\":{\"title\":\"Issue getting a custom skill to work\",\"content\":\"\u003ch2\u003eResolve issues with a custom skill not working with Cognitive Search\u003c/h2\u003e\\n\u003cp\u003eBuilding a custom skill gives you a way to insert transformations unique to your content. A custom skill executes independently, applying whatever enrichment step you require. For example, you could build custom classification models to differentiate business and financial contracts and documents, or add a speech recognition skill to reach deeper into audio files for relevant content.\u003c/p\u003e\\n\u003cp\u003eIf you\u0027re experiencing issues with a custom skill not working with Cognitive Search, use the following guidance to help resolve your issues.\u003c/p\u003e\\n\u003ch3\u003eTroubleshooting steps\u003c/h3\u003e\\n\u003cp\u003eIf you are having trouble with a custom skill, ensure that:\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eYour skill works with a REST client.\u003c/li\u003e\\n\u003cli\u003eThe custom skill meets the \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003ecustom skill interface guidelines\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eAll indexer run errors and warnings are resolved.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-create-custom-skill-example\\\"\u003eThe skillset definition of the custom skill is valid\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eThe input data matches the schema of your target index. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/search/search-indexer-field-mappings\\\"\u003eField mappings and transformations using Azure Cognitive Search indexers\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYou use \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-debug-session\\\"\u003edebug sessions\u003c/a\u003e to identify and resolve errors, validate changes, and push changes to a production skillset in the AI enrichment pipeline.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003ch3\u003eResources\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003eHow to add a custom skill to a cognitive search pipeline\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\\n\",\"replacementMaps\":{\"diagnostics\":[],\"webResults\":[{\"searchResults\":[{\"solutionId\":\"MicrosoftQnA_667871\",\"content\":\"...search re-index 3. Validated the the search crawl log from admin Centre 4. Its been 48 hours now after user get added to the site but the crawl is still running...\",\"title\":\"Search Issue\",\"confidence\":\"High\",\"source\":\"MicrosoftQnA\",\"resultType\":\"Community\",\"rank\":1,\"link\":\"https://learn.microsoft.com/answers/questions/667871/\"},{\"solutionId\":\"articles|search|semantic-search-overview.md\",\"content\":\"...search query is a question, and answers are requested, the response will include a text passage that best answers the question, as expressed by the search query.\\n:::image type=\\\"content\\\" source=\\\"media...\",\"title\":\"What is semantic ranking?\",\"confidence\":\"High\",\"source\":\"\",\"resultType\":\"Documentation\",\"rank\":1,\"link\":\"https://docs.microsoft.com/en-us/azure/search/semantic-search-overview#semantic-search-architecture\"}],\"replacementKey\":\"\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\"}],\"metricsBasedCharts\":[]},\"sections\":[],\"solutionId\":\"apollo-cognitve-search-custom-skill\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "Update-AzSelfHelpSolution+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/obv4cgl9ew/operationResults/dd98b222-9594-40e5-a8e2-50530bf635d9?api-version=2024-03-01-preview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i9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=X5R9yC3MN9fwwE21CTYw4tGU2emHtqQn8QMdWwpzLPhGss4K_mFjgA5cJXIHFTx5qrcRS3BraGWtPfLXvVm27c5d2N72WZGd55P7O72Nl9a0GYdAMldcJddTRjcc3Erec6HIrWMVhc_oku9LqU5oUP5YPc9vDZQCnfFPuV6uYl_4vn2ALoIDzzrRGFl_4iPlSNaKUxcOEZppuDa4Iae7HXcHjk-ctxWh5XUBwWFTMVQUZayqBKOPaxrTG5NX4VJawcLagkgHQvk30YO3SEQgttxPupOEic5Y6WlRvyZqwhjFrsz-iuUGxhYZ8kK0MMkdwt9qzr8lKeiKZvN-pC9teA\u0026h=SLHDjStVpnO7JZ6O1IZ9cD08ziqmLSd-nEPW4DlwqLo+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/obv4cgl9ew/operationResults/dd98b222-9594-40e5-a8e2-50530bf635d9?api-version=2024-03-01-preview\u0026t=638479470039819176\u0026c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQ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ZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo\u0026s=X5R9yC3MN9fwwE21CTYw4tGU2emHtqQn8QMdWwpzLPhGss4K_mFjgA5cJXIHFTx5qrcRS3BraGWtPfLXvVm27c5d2N72WZGd55P7O72Nl9a0GYdAMldcJddTRjcc3Erec6HIrWMVhc_oku9LqU5oUP5YPc9vDZQCnfFPuV6uYl_4vn2ALoIDzzrRGFl_4iPlSNaKUxcOEZppuDa4Iae7HXcHjk-ctxWh5XUBwWFTMVQUZayqBKOPaxrTG5NX4VJawcLagkgHQvk30YO3SEQgttxPupOEic5Y6WlRvyZqwhjFrsz-iuUGxhYZ8kK0MMkdwt9qzr8lKeiKZvN-pC9teA\u0026h=SLHDjStVpnO7JZ6O1IZ9cD08ziqmLSd-nEPW4DlwqLo", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "41" ], + "x-ms-client-request-id": [ "1e4af8e1-5544-46d6-a05d-b6dd79a10fd4" ], + "CommandName": [ "Update-AzSelfHelpSolution" ], + "FullCommandName": [ "Update-AzSelfHelpSolution_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "7dc5d2d3-7aa7-4708-9972-9a0ffe030716" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "7dc5d2d3-7aa7-4708-9972-9a0ffe030716" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T205035Z:7dc5d2d3-7aa7-4708-9972-9a0ffe030716" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 8532DBEAFC214CE7B9B1F42618C4125A Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:50:34Z" ], + "Date": [ "Fri, 05 Apr 2024 20:50:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "227" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/providers/Microsoft.Help/Solutions/obv4cgl9ew/operationResults/dd98b222-9594-40e5-a8e2-50530bf635d9\",\"name\":\"dd98b222-9594-40e5-a8e2-50530bf635d9\",\"status\":\"Succeeded\"}", + "isContentBase64": false + } + }, + "Update-AzSelfHelpSolution+[NoContext]+UpdateExpanded+$GET+https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew?api-version=2024-03-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com//subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew?api-version=2024-03-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "42" ], + "x-ms-client-request-id": [ "1e4af8e1-5544-46d6-a05d-b6dd79a10fd4" ], + "CommandName": [ "Update-AzSelfHelpSolution" ], + "FullCommandName": [ "Update-AzSelfHelpSolution_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.SelfHelp/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "5497beaa-7e82-4a0e-a082-6fb151c465ca" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-correlation-request-id": [ "5497beaa-7e82-4a0e-a082-6fb151c465ca" ], + "x-ms-routing-request-id": [ "EASTUS2:20240405T205036Z:5497beaa-7e82-4a0e-a082-6fb151c465ca" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 1B93B483B110431E803BA84460B748C4 Ref B: BN1AA2051015017 Ref C: 2024-04-05T20:50:35Z" ], + "Date": [ "Fri, 05 Apr 2024 20:50:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "3415" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp/providers/Microsoft.Help/solutions/obv4cgl9ew\",\"name\":\"obv4cgl9ew\",\"type\":\"Microsoft.Help/Solutions\",\"properties\":{\"title\":\"Issue getting a custom skill to work\",\"content\":\"\u003ch2\u003eResolve issues with a custom skill not working with Cognitive Search\u003c/h2\u003e\\n\u003cp\u003eBuilding a custom skill gives you a way to insert transformations unique to your content. A custom skill executes independently, applying whatever enrichment step you require. For example, you could build custom classification models to differentiate business and financial contracts and documents, or add a speech recognition skill to reach deeper into audio files for relevant content.\u003c/p\u003e\\n\u003cp\u003eIf you\u0027re experiencing issues with a custom skill not working with Cognitive Search, use the following guidance to help resolve your issues.\u003c/p\u003e\\n\u003ch3\u003eTroubleshooting steps\u003c/h3\u003e\\n\u003cp\u003eIf you are having trouble with a custom skill, ensure that:\u003c/p\u003e\\n\u003col\u003e\\n\u003cli\u003eYour skill works with a REST client.\u003c/li\u003e\\n\u003cli\u003eThe custom skill meets the \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003ecustom skill interface guidelines\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eAll indexer run errors and warnings are resolved.\u003c/li\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-create-custom-skill-example\\\"\u003eThe skillset definition of the custom skill is valid\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eThe input data matches the schema of your target index. For more information, see \u003ca href=\\\"https://docs.microsoft.com/azure/search/search-indexer-field-mappings\\\"\u003eField mappings and transformations using Azure Cognitive Search indexers\u003c/a\u003e.\u003c/li\u003e\\n\u003cli\u003eYou use \u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-debug-session\\\"\u003edebug sessions\u003c/a\u003e to identify and resolve errors, validate changes, and push changes to a production skillset in the AI enrichment pipeline.\u003c/li\u003e\\n\u003c/ol\u003e\\n\u003ch3\u003eResources\u003c/h3\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca href=\\\"https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface\\\"\u003eHow to add a custom skill to a cognitive search pipeline\u003c/a\u003e\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003ch3\u003eRelevant results from the web\u003c/h3\u003e\\n\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\\n\",\"replacementMaps\":{\"diagnostics\":[],\"webResults\":[{\"searchResults\":[{\"solutionId\":\"MicrosoftQnA_667871\",\"content\":\"...search re-index 3. Validated the the search crawl log from admin Centre 4. Its been 48 hours now after user get added to the site but the crawl is still running...\",\"title\":\"Search Issue\",\"confidence\":\"High\",\"source\":\"MicrosoftQnA\",\"resultType\":\"Community\",\"rank\":1,\"link\":\"https://learn.microsoft.com/answers/questions/667871/\"},{\"solutionId\":\"articles|search|semantic-search-overview.md\",\"content\":\"...search query is a question, and answers are requested, the response will include a text passage that best answers the question, as expressed by the search query.\\n:::image type=\\\"content\\\" source=\\\"media...\",\"title\":\"What is semantic ranking?\",\"confidence\":\"High\",\"source\":\"\",\"resultType\":\"Documentation\",\"rank\":1,\"link\":\"https://docs.microsoft.com/en-us/azure/search/semantic-search-overview#semantic-search-architecture\"}],\"replacementKey\":\"\u003c!--7a365ebd-fbe2-4ff6-8c3c-cfaf82ca9f7f--\u003e\"}],\"metricsBasedCharts\":[]},\"sections\":[],\"solutionId\":\"apollo-cognitve-search-custom-skill\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/Update-AzSelfHelpSolution.Tests.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/Update-AzSelfHelpSolution.Tests.ps1 index bdec1ee1cc4b..aa669b61701d 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/Update-AzSelfHelpSolution.Tests.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/Update-AzSelfHelpSolution.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzSelfHelpSolution')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzSelfHelpSolution' -Tag 'LiveOnly' { +Describe 'Update-AzSelfHelpSolution' -Tag 'LiveOnly'{ It 'UpdateExpanded' { { $resourceName = RandomString -allChars $false -len 10 @@ -24,13 +24,12 @@ Describe 'Update-AzSelfHelpSolution' -Tag 'LiveOnly' { } $criteria = [ordered]@{ "name" ="SolutionId" - "value" = "keyvault-lostdeletedkeys-apollo-solution" + "value" = "apollo-cognitve-search-custom-skill" } $parameters = [ordered]@{ - "SearchText" = "Can not RDP" - "vault_name" = "DemoKeyvault" - } + "SearchText" = "Can not Search" + } New-AzSelfHelpSolution -Scope $env.scope -ResourceName $resourceName -TriggerCriterion $criteria -Parameter $parameters Update-AzSelfHelpSolution -Scope $env.scope -ResourceName $resourceName -TriggerCriterion $criteriaReplacementKey -Parameter $parameters } | Should -Not -Throw diff --git a/src/SelfHelp/SelfHelp.Autorest/test/env.json b/src/SelfHelp/SelfHelp.Autorest/test/env.json index 58b815e8c60d..81aa01a8e211 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/env.json +++ b/src/SelfHelp/SelfHelp.Autorest/test/env.json @@ -1,7 +1,7 @@ { + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "resourceGroup": "sm1dxne74h", "SubscriptionId": "6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba", - "scope": "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/l1ca7pfg5b/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp", - "location": "eastus", - "resourceGroup": "l1ca7pfg5b", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "scope": "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/sm1dxne74h/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp", + "location": "eastus" } diff --git a/src/SelfHelp/SelfHelp.Autorest/test/loadEnv.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/loadEnv.ps1 index 5f079e89615e..6a7c385c6b7d 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/loadEnv.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/loadEnv.ps1 @@ -25,5 +25,5 @@ if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) { $env = @{} if (Test-Path -Path $envFilePath) { $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json - $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant} + $PSDefaultParameterValues=@{"*:Tenant"=$env.Tenant} } \ No newline at end of file diff --git a/src/SelfHelp/SelfHelp.Autorest/test/localEnv.json b/src/SelfHelp/SelfHelp.Autorest/test/localEnv.json index e532e53686e5..c799182c222d 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/localEnv.json +++ b/src/SelfHelp/SelfHelp.Autorest/test/localEnv.json @@ -1,7 +1,7 @@ { - "scope": "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/fc610as2rw/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp", - "SubscriptionId": "6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "resourceGroup": "feprs3t65o", "location": "eastus", - "resourceGroup": "fc610as2rw" + "scope": "/subscriptions/6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba/resourcegroups/feprs3t65o/providers/Microsoft.Storage/storageAccounts/teststorageforselfhelp", + "SubscriptionId": "6bded6d5-a6af-43e1-96d3-bf71f6f5f8ba" } diff --git a/src/SelfHelp/SelfHelp.Autorest/test/utils.ps1 b/src/SelfHelp/SelfHelp.Autorest/test/utils.ps1 index a48510f2b2f3..f6e29c85d329 100644 --- a/src/SelfHelp/SelfHelp.Autorest/test/utils.ps1 +++ b/src/SelfHelp/SelfHelp.Autorest/test/utils.ps1 @@ -40,6 +40,9 @@ if ($UsePreviousConfigForRecord) { # example: $val = $env.AddWithCache('key', $val, $true) $env | Add-Member -Type ScriptMethod -Value { param( [string]$key, [object]$val, [bool]$useCache) if ($this.Contains($key) -and $useCache) { return $this[$key] } else { $this[$key] = $val; return $val } } -Name 'AddWithCache' function setupEnv() { + + Install-Module -Name Az.Resources -AllowClobber -Scope CurrentUser -Force + # Preload subscriptionId and tenant from context, which will be used in test # as default. You could change them if needed. $env.SubscriptionId = (Get-AzContext).Subscription.Id diff --git a/src/SelfHelp/SelfHelp.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 b/src/SelfHelp/SelfHelp.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 new file mode 100644 index 000000000000..5319862d3372 --- /dev/null +++ b/src/SelfHelp/SelfHelp.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 @@ -0,0 +1,7 @@ +param() +if ($env:AzPSAutorestTestPlaybackMode) { + $loadEnvPath = Join-Path $PSScriptRoot '..' 'test' 'loadEnv.ps1' + . ($loadEnvPath) + return $env.SubscriptionId +} +return (Get-AzContext).Subscription.Id \ No newline at end of file