web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : ScM+fzeFf4i/5YwGJvbRty
Copilot Studio - General
Unanswered

ChatBot Authentication Best Method

Like (0) ShareShare
ReportReport
Posted on 23 Jun 2020 01:22:08 by 27

Currently, I am wanting to use the bot to finder invoice&vendor info from Business Central and post payments in BC.

I have users in the Azure AD list but not in the Business Central App. 

I have created a flow that does that through using Auth Token in the Azure AD, which i need to generate each time through postman.

like this: get invoice postman.JPG

 

However, I want to use the flow on a chatbot.
Right now I am authenticating users through the authentication in power virtual agent and it works. I am able to get the user information. 

get user.JPG

 

However, I am unable to get the invoice information anymore:

get invoice.JPG

 

Right now the azure app permission for bc looks like this:

azure permission.JPG

bc authentication.JPG



I am wondering what would be the best way to handle this? To let user login to the Azure account and be able to get the correct information out of Business Central in the chatbot. 

Also, how would I best handle permissions(like users restricted to their company's information), is that best done through azure permission group or just through getting user information and setting the query when getting the invoice?

Thank you!

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2