79561502

Date: 2025-04-08 08:06:34
Score: 1
Natty:
Report link

The easiest way is to check the network trace of manually updating Force Push Setting on the UI. You will be able to see the request URL and request body. Then run the same REST API in your PowerShell scripts.

enter image description here

See Collect a network trace in the browser for the detail steps of checking network trace.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Ziyang Liu-MSFT