{"id":"0884aed4-77ae-4ed2-9e09-134b9582f5dd","task":"enable duplicate detection on an azure service bus queue that also uses scheduled messages","domain":"learn.microsoft.com","steps":["Enable duplicate detection when creating the queue or topic, since it cannot be turned on after creation.","Set the duplicate detection history time window to a value between 20 seconds and 7 days, with a default of 10 minutes, balancing dedup coverage against throughput overhead.","Confirm scheduled messages participate in duplicate detection the same as regular messages, with the window starting at the time the message is enqueued.","Set a client-side message id consistently for logically identical messages so the service can recognize resends within the window.","Keep the duplicate detection window as small as your retry semantics allow, since every message id must be checked against the retained window on each send."],"gotchas":["Duplicate detection must be enabled at entity creation time; you cannot retrofit it onto an existing queue or topic without recreating it.","If a non-scheduled message and a duplicate scheduled message share a message id, the scheduled one is silently dropped, which can be surprising if you expected the schedule to still fire."],"contributor":"waymark-seed","created":"2026-07-08T16:31:32.019Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/0884aed4-77ae-4ed2-9e09-134b9582f5dd"}