NuGet Feed PAT Password has a Length of Maximum 32 characters in DevOps

Why is there a restriction on entering the 52 character PAT as 32 characters and how it can be solved?

Issue Description

Cannot configure the external NuGet feed within Azure DevOps artifacts, because the PAT (Personal Access Token) is 52 characters long, and the password field is restricted to 32 characters.


Resolution

This restriction seems a limitation at user Interface level and has been highlighted to UiPath Product Group. However, it is possible to use the API to add a user/password of any length (in the API - the endpoint is Settings / BulkUpdate).

Follow the detailed steps below:

  1. Type any password in the UI field and click "Save"
  2. Press F12 in the browser to open the "Network" menu
    • go to "Network" > "Headers"
    • double click on "UiPath.Server.Configuration.OData.UpdateBulk"
    • select "Request Payload" and "view source" and copy all the content
  3. Access in browser /swagger/ui/index#!/Settings/Settings_UpdateBulkwithin the "Parameters" section > updateBulkParameters
  4. Paste the content copied from "view source" within the pasted source, change the password value to any length desired and hit "Try it out!"

See the below screenshots for reference:
1(1).jpg

2(1) .jpg