question

DwivediHariomMIND-4661 avatar image
1 Vote"
DwivediHariomMIND-4661 asked ·

botframework & microsoft-teams : Need to access User Machine related information through MS Teams

I have created a bot framework application like chatbot in .net core 3.1 which is deployed on Azure and this chatbot application is using by a number of users of an IT company through MS Teams. So through MS Teams can we access User Machine related information like (Machine Name, device name, device OS and can invoke any exe which is placed on the user machine). Can we identify from which device (Mobile/Laptop) the user is interacting with our Chatbot application through Teams? actually, we want to perform some automation activity on the user machine based on user input and this automation would only execute on a laptop or desktop but not on the mobile devices, so need to identify if user is sending out the response from a mobile phone or a laptop. Please provide help on that.

office-teams-windows-itprooffice-teams-app-devazure-bot-serviceazure-stack-hub
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DwivediHariomMIND-4661 The scenario in your case to get a user's information might seem valid but running an exe from a bot which is placed on a users machine might not be safe in most of the scenarios. A workaround for this is to provide a card with steps on what a user can do to get the required information but running these commands themselves and providing this information in the response.

0 Votes 0 ·

@romungi-MSFT Thanks for the response

0 Votes 0 ·
SharonZhao-MSFT avatar image
0 Votes"
SharonZhao-MSFT answered ·

@DwivediHariomMIND-4661,

I searched many official documents about bot framework. However, I did not find such information about the scope of bot’s permissions.

Then, I checked some official bots’ permissions, which mainly related to the Teams itself, not user machine. The following image is just for your reference.
57113-image.png

Meanwhile, as we are mainly responsible for general issue of Microsoft Teams, your question which is involved in development is not in our scope. I would add the office-teams-app-dev tag. Hope you get better response.


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.






image.png (21.1 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DwivediHariomMIND-4661 avatar image
0 Votes"
DwivediHariomMIND-4661 answered ·


@SharonZhao-MSFT Thanks for your response.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.