For all those who want to know how it ended:
The MS Engineering team said that Commandbox or search bar is a personal scope and will never have any context. This is an expected behavior. It could have been a bug in the old Teams which is fixed now.
see also: https://github.com/MicrosoftDocs/msteams-docs/issues/11725