cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
TexasBI
Frequent Visitor

Issue - Embed not working

Hello,

 

I have embed my app as an iframe in my web app that use my AAD for authentication. I am getting a circle on load and it never goes away??? This just started a couple days ago out of no where.

 

 

14 REPLIES 14
sephilli Helper II
Helper II

Re: Issue - Embed not working

Hi TexasBI,

 

I'm sorry that you are encountering this problem. Can you please provide a few things / answer a few questions that we can use to investigate the issue?

 

 - What browser are you embedding it in? / Does it work in other browsers?

 - What is the URL that you are embedding?

 - Has the app successfully ran before?

 

 - Can you also do the following...

  • Open the page with the embedded app
  • Wait about a minute
  • Click somewhere on the app
  • Hold down the Alt Button the Right-Click on the app
  • A menu with the item 'Session details' should appear, click it.
  • Copy that information and provide it in your response. 

 - And also...

  • Right click on the iframe
  • Click inspect element
  • Click console
  • Take a screen shot of the dev tools window.
rmmcgr Advocate V
Advocate V

Re: Issue - Embed not working

I am getting this as well for my apps that are embeded on a page when using Chrome (Version 67.0.3396.87 64-bit).

Microsoft Edge and Firefox are ok.

The error in the console for Chrome is as follows:

 

player.js:1 Uncaught ReferenceError: msrCrypto is not defined
    at new e (player.js:1)
    at player.js:17
    at e.pkg.e.file.e._getObject (player.js:1)
    at e.pkg.e.file.e.getSingleton (player.js:1)
    at Function.e.pkg.e.file.e.getLocalStorageSettingsProvider (player.js:1)
    at player.js:13
    at e.pkg.e.file.e._getObject (player.js:1)
    at e.pkg.e.file.e.getSingleton (player.js:1)
    at player.js:1
    at Array.map (<anonymous>)


Thanks for any help,

Richard

sephilli Helper II
Helper II

Re: Issue - Embed not working

Hello @rmmcgr

 

Thanks for letting us know. As a possible mitigation, can you try clearing your cookies? 

 

If that does not resolve the issue, can you also provide the information from the steps I listed above? That would greatly help us in resolving your issue.

 

TexasBI
Frequent Visitor

Re: Issue - Embed not working

Hey @rmmcgr

 

Here you go 

 

player.js:1 Uncaught ReferenceError: msrCrypto is not defined
at new e (player.js:1)
at player.js:17
at e.pkg.e.file.e._getObject (player.js:1)
at e.pkg.e.file.e.getSingleton (player.js:1)
at Function.e.pkg.e.file.e.getLocalStorageSettingsProvider (player.js:1)
at player.js:13
at e.pkg.e.file.e._getObject (player.js:1)
at e.pkg.e.file.e.getSingleton (player.js:1)
at player.js:1
at Array.map (<anonymous>)

 

When I run the console in Chrome for developer tools I also see this

Assessment:74 Uncaught ReferenceError: sendParams is not defined
at HTMLIFrameElement.onload (Assessment:74)

 

z-index:999' onload='sendParams();' frameborder='no'></iframe>

 

 

rmmcgr Advocate V
Advocate V

Re: Issue - Embed not working

Hi @sephilli

 

Resetting the cookies did not work for me.

 

The embeded app does not load and the same error appears in the JavaScript console.

 

sephilli Helper II
Helper II

Re: Issue - Embed not working

@TexasBI & @rmmcgr,

 

Altho the stack traces gives us an idea of what may be happening, can you both please provide session ids? 

 

To do so, please follow the instructions on this page https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/get-sessionid

 

This will greatly help investigation. 

 

rmmcgr Advocate V
Advocate V

Re: Issue - Embed not working

I tried to get the session id for an embed app as per the instructions in the link but it did not work.

I think this is because it has not even got to the stage where it is loaded enough to be able to do this.

 

Is there a way I can get it by manually running a JS command in the browser JS console?

sephilli Helper II
Helper II

Re: Issue - Embed not working

@rmmcgr,

Try typing Core.Telemetry.Log.sessionId into the console. That should return the string we need. 

sephilli Helper II
Helper II

Re: Issue - Embed not working

@rmmcgr & @TexasBI,

 

Can you also try open the apps in Incognito mode? Since this is only happening in Chrome, it may be that a Chrome extension is interferring with PowerApps. 

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (6,740)