Help with adaptive card (bbdevdays Lab2): User identity token was missing or invalid
I'm trying to build a Constituent Update add-in, based on the Lab2 exercise we did in Dallas BBDevDays. I have all the components of the first half of the exercise created. The card is created, the Sky App is created, the Add-in link is created, the App is connected to my database, and the Add-in button appears where it's supposed to. But when the flyout appears, it's blank (no card contents). The Power Automate flow fails at the second step: “The user identity token was missing or invalid, or the token has expired, or was issued to a different application or environment”. I can't figure out what's not connecting. Any ideas?
Comments
-
@Susan Walters
You need to see what is being input to the action for validate user token and see (1) if you provided something and (2) where you are getting the dynamic content to provide to the validate user token action. Some screenshot of the run's trigger output and validate user token input will help0 -
@Susan Walters It may also be that the Blackbaud SKY Add-ins connection is pointing to the wrong environment. To update the connection, inside Power Automate go to Connections (if you don't see Connections in the left panel click …More), then in the upper right of the page search for Blackbaud SKY, click on your Blackbaud SKY Add-ins connection and choose Switch Account. Then re-authenticate to the environment where the add-in is located and test the card again.
0 -
@Ashley Moose It was a bit odd. It was pointing to the correct environment, but I still wound up “changing the connection” to reconnect it, and then it worked. But when I looked at it again this morning, it was broken again, and I had to re-connect again. Any idea why it won't stay connected correctly?
0 -
@Susan Walters Glad to hear that worked but that is definitely odd. Are you working on other Flows that would be connecting to a different environment? The only thing I can think of is that the connection is being unintentionally changed to a different environment due to being used in a different Flow.
Also, do you perhaps have more than one SKY Add-ins connection? If so it's possible the wrong is being used or changed since you can't tell from the connection itself where it's pointing to.
0 -
@Ashley Moose That's a thought. I'll check it tomorrow, and see if it does it again. I don't have any other flows. Could I delete all those connections and reset them? I do have some flows that are shared with me by PSG, but I didn't build those and haven't done any editing.
0 -
@Susan Walters Yes you can delete any extras. If the connection is currently being used by a flow, you will need to update that flow to use the remaining connection. Before deleting a connection you can check if it is in use by viewing the connection Details and going to the Flows using this connection tab.
None of the flows shared with you should be affected as the connections in those flows should only be able to be modified by the flow/connection owner.
1 -
@Susan Walters
if the flow (without any changes) is working (at times), then your flow and connection is working properly. (test this by going to the page you have the adaptive card meant to be display and see if it works for you and check the run history to make sure a successful run).there are “situation” i have encounter before where the user identify token passed to the flow has expired, which will result in the validation step to fail, the situation has to do with browser on RE NXT is left “idle", someone reloading the page will be able to see the adaptive card.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 941 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


