Forum Discussion
Production Embedded Report Issue
We had the same issue that started Thursday evening / Friday morning. There was an Azure AD setting Microsoft changed on their end that impacted this functionality. I don't have the powershell script but their support helped us re-enable this feature so that our embedded reports work correclty. We're also going to update the way we authenticate to Azure AD so that it's not impacted in the future.
Here's the powershell.
$spId = "GUID HERE" (It is the object ID of the Service Principal. You can find it within Azure Active Directory > Enterprise Applications > Application you’re looking for > Properties > ObjectID)
$policy = New-AzureADPolicy -Definition @("{`"HomeRealmDiscoveryPolicy`":{`"AllowCloudPasswordValidation`":true}}") -DisplayName EnableDirectAuth -Type HomeRealmDiscoveryPolicy -IsOrganizationDefault $false
Add-AzureADServicePrincipalPolicy -Id $spId -RefObjectId $policy.Id
MS provided us the same powershell script reported by Anonymous but in our case unfortunately this didn't solve the issue.
Still waiting for MS support. Ticket still open.