Skip to content

Add UserAgent attribute to all request to Fabric API #119

Description

@NowinskiK

Function proposal

Examples:

invoke-webrequest

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.5#-useragent

invoke-restmethod

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7.5#-useragent

Proposed properties

Example of an attribute used by Microsoft in their Terraform Fabric provider:
terraform/1.12.1,fabric-sdk-go/0.6.0,terraform-provider-fabric/1.2.0,(linux; amd64)

Similarly for FabricTools:
powershell/7.5,FabricTools/0.26.0,(linux; amd64)

Special considerations or limitations

Includes:

  • PS version
  • FabricTools version
  • OS & [CPU arch]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions