
Bot emulator 4.9
Rights side(image) working fine but not sure in which bot emulator version (last year December 2019) . the same code try to run bot emulator 4.9(Left side(image)) application its working fine & but the status showing as failed in the emulator.
I have tried the same code with Middleware in 4.7 emulator version ( here my sample code: https://github.com/rvinothrajendran/BotTutorialSample/tree/master/Python_tutorial/03-Middleware)
Status to be update
Assigning to myself until Dana's permissions are fixed
@rvinothrajendran In the emulator, Can you share the additional information? I'm guessing it is showing an error in the right pane of emulator.
Also, your bot is sending the username in your on_members_added_activity, but I don't see that in the screen shot. Is that happening at all?
If you remove the middleware and just have the bot echo, does it work without error?
@dmvtech
here the right side info.

If you remove the middleware and just have the bot echo, does it work without error? -> removed middleware and on_members_added_activity function also -> Its showing an error
I played with this a bit, but I wasn't able to find how to remedy your code.
What I did do, was take our Python echo sample, and modify it to work.
Just import the middleware and set the adapter to use it (create middleware1.py of course):
from middleware1 import Middleware1
# Create adapter.
# See https://aka.ms/about-bot-adapter to learn more about how bots work.
SETTINGS = BotFrameworkAdapterSettings(CONFIG.APP_ID, CONFIG.APP_PASSWORD)
ADAPTER = BotFrameworkAdapter(SETTINGS)
ADAPTER.use(Middleware1())
I'll poke around a bit more to see if I can figure out the exact cause, but I would suggest seeing if you can go with the approach that we do in our sample.
@dmvtech I have checked the both code only difference in the app.py file.
I used old way of coding and echo sample used a new way. old way of coding style was working fine in old emulator ( ref the Screenshots)
Thanks @rvinothrajendran Just so I'm clear; did you try the new way and have it work?
@dmvtech yes
Ok, are you ok to go ahead with the new code/way? Is this resolved for you? I don't know what has changed, but likely there was a bunch of fixes/changes/etc that happened somewhere.
yes , better we can close this issue