microsoft / microsoft/Agent365-Samples
Agentic mode hardcoding
Open
@rahuldevikar761 is already working on this.
Since Jan 21, 2026.
- Dominant language
- C#
- Stars
- 108
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
Documentation says that
When you use agentic authentication, direct messaging in Agents Playground isn't currently supported. You must test through custom activities instead.
However, the code seems have hardcoded to be agentic only. host_agent_server.py has self.auth_handler_name = "AGENTIC" hardcoded.
I needed to change it to -
# Use agentic auth only if enabled, otherwise anonymous
use_agentic_auth = environ.get("USE_AGENTIC_AUTH", "false").lower() == "true"
self.auth_handler_name = "AGENTIC" if use_agentic_auth else None
and
handler = [self.auth_handler_name] if self.auth_handler_name else []
to make the code work.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.