Re: Restrict Portal Login From Multiple Device
Hi @rahulahire,
the problem is that in any way you have to execute the JS code on your client as they need to check if they are already logged in.
One thing you could do is take the approach from the other end. Hide your page or if necessary all your pages with and only show the content when javascript is enabled. For example with the jQuery .show, .append or similar things, loading the content from dataverse. Set a column in dataverse to a value with Power Automate and respond with is true to let the page load. If the value is for example 0 instead of 1 don't load it. You could use another PowerAutomate Flow once somebody logs in to check the value and if he already is logged in, log him out again.
It's a lot of workarounds in the end and performance is something what need to be considered in that case. Maybe it's worth a try.
--------------------------------------------------------------------------------------
Hope that helps.
If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.