I require the embed tokens I receieve back from the embedded API to live longer than the defaulted hour. I followed the information here
and set a new policy for "AccessTokenLifetime" with the following
New-AzureADPolicy -Definition @('{"TokenLifetimePolicy":{"Version":1,"AccessTokenLifetime":"23:59:59"}}') -DisplayName "WebPolicyScenario" -IsOrganizationDefault $false -Type "TokenLifetimePolicy"
I then assigned this policy to my application using the Add-AzureADApplicationPolicy command.
However the tokens I get back still have one hour expiration, is there something I am missing? I have also tried setting MaxAgeSessionSingleFactor, but with no success.
Thanks