Skip to main content

Notifications

Copilot Studio - Topic Creation & Management
Unanswered

Power Pages Agent: IsLoggedIn shows true all the time

Posted on 26 Nov 2024 17:58:47 by
I have turned on the latest Power Pages Copilot and I am working with the SignIn/Authenticate process.
 
After enabling I went to the Copilot Studio and checked the new Agent that was created.  In the Test area, the bot is asking me to "Login" which does not work because there is a disconnect between Studio and Power Pages.  I am fine with that though i would hope Microsoft will eventually fix this issue so we can test Power Pages functionality from the Studio test environment (Time Consuming publishing for every test).
 
Moving over to Power Pages testing:  Somewhere in the background Copilot is calling the SignIn Topic (If I remove it, it will state it is missing and if I add a SendMessage, I can see the message).  One of the messages I added had the User.IsloggedIn variable and it comes back with "Yes" whether or not the Power Pages user is logged in.
 
I can't see the backend Authentication Action so I am assuming it is using this variable to determine if it should make the User Log in.
I also cannot set the variable (Thought if I could set it to False if the User.DisplayName = (Blank) then that may solve the issue.
 
I tried to follow the IsloggedIn through the Browser Debug and from what I can see, the variable is false for most of the journey but my dubbing skills are not that of a developer so I do lose it prior to it getting the Send Message where it says "Yes"
 
Anyone have any idea?
Is this a bug or is there something I am missing?
 
For a workaround, I am just asking them to sign in using the actual Power Pages sign in but it is clunky as it restarts the Bot.
Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,129

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,797

Leaderboard

Featured topics