Hi,
I'm trying to upload a file to Asset Library via D365 Tools in powershell.
How to obtain the BearerToken?
here's the example from the command "Get-Help Invoke-D365LcsUpload -Examples"
PS C:\>Invoke-D365LcsUpload -ProjectId 123456789 -BearerToken "Bearer JldjfafLJdfjlfsalfd..." -FilePath "C:\temp\d365fo.tools\Release-2019-05-05.zip" -FileType "SoftwareDeployablePackage" -Name "Release-2019-05-05" -Filename "Release-2019-05-05.zip" -FileDescription "Build based on sprint: SuperSprint-1" -LcsApiUri "https://lcsapi.lcs.dynamics.com"
Appreciate any tips.
Thanks.