diff --git a/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/_http_adapter_base.py b/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/_http_adapter_base.py index 3cc217fb..e99b80b5 100644 --- a/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/_http_adapter_base.py +++ b/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/_http_adapter_base.py @@ -107,8 +107,10 @@ async def process_request( span.share(activity=activity) # Get claims identity (default to anonymous if not set by middleware) - claims_identity: ClaimsIdentity = ( - request.get_claims_identity() or ClaimsIdentity({}, False) + claims_identity: ( + ClaimsIdentity + ) = request.get_claims_identity() or ClaimsIdentity( + {}, False, authentication_type="Anonymous" ) # Validate required activity fields