Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello, I am embbeding seven PowerBI Reports on Office 365 Sway story. I am using the auto refresh Sway feature since the Sway story is published on different TV Screens to be used all day as an operations control center. The issue is after about 1 hour after running the Sway Story, in the embedded PowerBI report area appears a message to "Sign in". We solve the issue by click on it, and it continues working. But since the usage is on TV Screen, we need to solve the issue.
The Sway store is running on a web browser.
Thanks for help.
Best Regards,
Edward Canney
Solved! Go to Solution.
I can tell you the issue has been solved by increasing the Azure Active Directory Lifetime Token since the default is 1 hour.
---- you create the policy :: here is for 24 hours token lifetime -----
$policy = New-AzureADPolicy -Definition @('{"TokenLifetimePolicy":{"Version":1,"AccessTokenLifetime":"23:59:59","MaxAgeSessionSingleFactor":"23:59:59"}}') -DisplayName "increasepowerbitokenltv" -IsOrganizationDefault $false -Type "TokenLifetimePolicy"
---- assign the policy to the powerbi service ----
$sp = Get-AzureADServicePrincipal -Filter "DisplayName eq 'Power BI Service'"
--- query to know the id policy ------
Get-AzureADPolicy -Id $policy.Id
--- link the policy to the service ----
Add-AzureADServicePrincipalPolicy -Id $sp.ObjectId -RefObjectId $policy.Id
more info
Thanks to Microsoft Premier Support Team.
Ed
I can tell you the issue has been solved by increasing the Azure Active Directory Lifetime Token since the default is 1 hour.
---- you create the policy :: here is for 24 hours token lifetime -----
$policy = New-AzureADPolicy -Definition @('{"TokenLifetimePolicy":{"Version":1,"AccessTokenLifetime":"23:59:59","MaxAgeSessionSingleFactor":"23:59:59"}}') -DisplayName "increasepowerbitokenltv" -IsOrganizationDefault $false -Type "TokenLifetimePolicy"
---- assign the policy to the powerbi service ----
$sp = Get-AzureADServicePrincipal -Filter "DisplayName eq 'Power BI Service'"
--- query to know the id policy ------
Get-AzureADPolicy -Id $policy.Id
--- link the policy to the service ----
Add-AzureADServicePrincipalPolicy -Id $sp.ObjectId -RefObjectId $policy.Id
more info
Thanks to Microsoft Premier Support Team.
Ed
hi, @Ed_Canney
It seems like sway support iframe code, you can try to use publish to web feature to generate iframe code and paste to sway.
Best Regards,
Lin
Hi v-lili6-msft,
thanks for your message.
Actually we are using secure published to web feature from powerbi to generate iframe code which is embedded into Sway.
Using Fiddler, we got this log.
[Fiddler] The connection to '10.0.0.39' failed.
Error: TimedOut (0x274c).
System.Net.Sockets.SocketException A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.