Skip to content

Commit b3fe2a9

Browse files
committed
Minor changes
1 parent 4aeccbb commit b3fe2a9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

powerapps-docs/developer/data-platform/webapi/use-ps-and-vscode-web-api.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ Let's put the code to authenticate to Dataverse in a function called `Connect` i
9292

9393
`. $PSScriptRoot\Core.ps1` at the top of the file uses [dot sourcing](/powershell/module/microsoft.powershell.core/about/about_scripts#script-scope-and-dot-sourcing) to direct the script to load the contents of that file.
9494

95-
Remember to change `yourorg` in `https://yourorg.crm.dynamics.com/` to match the URL for your environment.
95+
Remember to change `https://yourorg.crm.dynamics.com/` to match the URL for your environment.
9696

97-
1. To run the script, press `F5`.
97+
1. To run the script, press <kbd>F5</kbd>.
9898

9999
The output might look similar to this output:
100100

@@ -145,7 +145,7 @@ Let's put the code to invoke the [WhoAmI function](xref:Microsoft.Dynamics.CRM.W
145145

146146
Remember to change the `https://yourorg.crm.dynamics.com/` value to match the URL for your environment.
147147

148-
1. To run the script, press `F5`.
148+
1. To run the script, press <kbd>F5</kbd>.
149149

150150
The output should look exactly like it did before.
151151

@@ -350,7 +350,7 @@ Let's put functions to perform common table operations a file named `TableOperat
350350

351351
Remember to change the `https://yourorg.crm.dynamics.com/` value to match the URL for your environment.
352352

353-
1. To run the script, press `F5`.
353+
1. To run the script, press <kbd>F5</kbd>.
354354

355355
The output might look similar to this output:
356356

@@ -451,7 +451,7 @@ Add a helper function that can help detect the source of the errors and extract
451451

452452
Remember to change the `https://yourorg.crm.dynamics.com/` value to match the URL for your environment.
453453

454-
1. To run the script, press `F5`.
454+
1. To run the script, press <kbd>F5</kbd>.
455455

456456
The output might look similar to this output:
457457

@@ -479,7 +479,7 @@ Add a helper function that can help detect the source of the errors and extract
479479
}
480480
```
481481

482-
1. To run the script, press `F5`.
482+
1. To run the script, press <kbd>F5</kbd>.
483483

484484
The output should be almost the same as if it wasn't included in the `Invoke-DataverseCommands` block:
485485

@@ -495,7 +495,7 @@ Add a helper function that can help detect the source of the errors and extract
495495

496496
## Manage Dataverse service protection limits
497497

498-
[Dataverse Service protection API limits](../api-limits.md) help ensure that Dataverse provides consistent availability and performance. When client applications make extraordinary demands on server resources using the Web API, Dataverse returns [429 Too Many Requests](https://developer.mozilla.org/docs/Web/HTTP/Status/429) errors and the client application must pause operations for the duration specified in the [Retry-After header](https://developer.mozilla.org/docs/Web/HTTP/Headers/Retry-After).
498+
[Dataverse Service protection API limits](../api-limits.md) help ensure that Dataverse provides consistent availability and performance. When client applications make extraordinary demands on server resources using the Web API, Dataverse returns [429 Too Many Requests](https://developer.mozilla.org/docs/Web/HTTP/Status/429) errors and client applications must pause operations for the duration specified in the [Retry-After header](https://developer.mozilla.org/docs/Web/HTTP/Headers/Retry-After).
499499

500500
The PowerShell [Invoke-RestMethod cmdlet](/powershell/module/microsoft.powershell.utility/invoke-restmethod) [MaximumRetryCount parameter](/powershell/module/microsoft.powershell.utility/invoke-restmethod#-maximumretrycount) specifies how many times PowerShell retries a request when a failure code is between 400 and 599, inclusive or 304 is received. This means PowerShell retries Dataverse service protection 429 errors when you include a value for this parameter. The `MaximumRetryCount` parameter can be used with the [RetryIntervalSec](/powershell/module/microsoft.powershell.utility/invoke-restmethod#-retryintervalsec) to specify the number of seconds to wait. The default is 5 seconds. If the error response includes a `Retry-After` header for a 429 error, as Dataverse service protection errors do, that value is used instead.
501501

@@ -769,7 +769,7 @@ This section contains some guidance for issues you might encounter.
769769

770770
This error might occur when debugging with Visual Studio Code. To resolve the error:
771771

772-
1. Select **View** > **Command Palette...** from the Visual Studio Code menu, or press `Ctrl` + `Shift` + `P`.
772+
1. Select **View** > **Command Palette...** from the Visual Studio Code menu, or press <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>.
773773
1. Type `restart` and select `Powershell: Restart session`. See [PowerShell/vscode-powershell GitHub Issue 4332](https://github.com/PowerShell/vscode-powershell/issues/4332) for more information.
774774

775775
## Next steps

0 commit comments

Comments
 (0)