Configure the proxy web application to forward the request to Python Bot application

%3CLINGO-SUB%20id%3D%22lingo-sub-2241852%22%20slang%3D%22en-US%22%3EConfigure%20the%20proxy%20web%20application%20to%20forward%20the%20request%20to%20Python%20Bot%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2241852%22%20slang%3D%22en-US%22%3E%3CP%3EI%20created%20MS%20teams%20bot%20Python%20application%2C%20my%20security%20team%20requesting%20to%20configure%20the%20proxy%20web%20application%20to%20forward%20the%20request%20to%20Bot%20application%3C%2FP%3E%3CP%3E(Like%20bot%20data%20flow%26nbsp%3B%20as%20MS%20team%20Client--%26gt%3BAzure%20Bot%20Service--%26gt%3BWebserver--%26gt%3BApplication%20Server)%3C%2FP%3E%3CP%3ENote%20that%20there%20is%20firewall%20between%20Azure%20Bot%20Service%20and%20Webserver.%3C%2FP%3E%3CP%3EHere%20my%20questions%2C%20how%20to%20configure%20proxy%20webserver%20to%20forward%20the%20request%20to%20Python%20Bot%20Application%20hosted%20on%20application%20server.%20Can%20we%20use%20IIS%20or%20Apache%20%3F%20How%20to%20configure%20the%20webservers%20to%20forward%20the%20request%20and%20send%20the%20response%20to%20MS%20Teams%20Client%3F%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ESSN%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2241852%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBots%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2246696%22%20slang%3D%22en-US%22%3ERe%3A%20Configure%20the%20proxy%20web%20application%20to%20forward%20the%20request%20to%20Python%20Bot%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2246696%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F987408%22%20target%3D%22_blank%22%3E%40sen2nat79%3C%2FA%3E%2C%26nbsp%3B%20You%20can%20deploy%20your%20code%20using%20any%20service%20as%20long%20as%20it's%20%3CEM%3E%2Fapi%2Fmessages%3C%2FEM%3E%20endpoint%20publicly%20accessible.%20Please%20take%20a%20look%20at%20FAQ%20on%20securities%20for%20%3CA%20tabindex%3D%22-1%22%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fbot-service%2Fbot-service-resources-faq-security%3Fview%3Dazure-bot-service-4.0%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fbot-service%2Fbot-service-resources-faq-security%3Fview%3Dazure-bot-service-4.0%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3EMicrosoft%20Bot%20Framework%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I created MS teams bot Python application, my security team requesting to configure the proxy web application to forward the request to Bot application

(Like bot data flow  as MS team Client-->Azure Bot Service-->Webserver-->Application Server)

Note that there is firewall between Azure Bot Service and Webserver.

Here my questions, how to configure proxy webserver to forward the request to Python Bot Application hosted on application server. Can we use IIS or Apache ? How to configure the webservers to forward the request and send the response to MS Teams Client?

Thanks,

SSN

2 Replies

Hi @sen2nat79,  You can deploy your code using any service as long as it's /api/messages endpoint publicly accessible. Please take a look at FAQ on securities for Microsoft Bot Framework.

@sen2nat79 Please let us know does that help clarify.