Hi I have a Dashboard where I use $PSUAppToken to get a token for use in the API.
It appears -GrantAppToken is no longer a thing?
About - PowerShell Universal
If I remove -GrantAppToken it “works” the first time, but the token that gets generated only has a lifetime of 24 hours, after the 24 hours the token is expired, and a new one is not generated. So from then on it does not work.
Product: PowerShell Universal Version: 4.0.8
Hi @AnonymousUser
could you solve this issue? I think I’ve pretty much the same:
Thanks,
Matthias
Sadly, it’s been a while so I have no idea, sorry.
From looking at our git history I see no relevant changes, so my only guess is that an update fixed it. Maybe 4.0.10?
Fixed an issue where app tokens set to never expire would not authenticate properly (#2598)