# Azure Frontdoor Create Multiple Origin issue

**URL:** <https://forum.ansible.com/t/azure-frontdoor-create-multiple-origin-issue/43870>\
**Category:** Get Help\
**Tags:** azure, windows\
**Created:** [July 14, 2025, 1:01pm UTC](https://forum.ansible.com/t/azure-frontdoor-create-multiple-origin-issue/43870 "2025-07-14T13:01:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hedia](https://avatars.discourse-cdn.com/v4/letter/h/57b2e6/32.png) [@Hedia](https://forum.ansible.com/u/Hedia)\
**Post date:** [July 14, 2025, 1:01pm UTC](https://forum.ansible.com/t/azure-frontdoor-create-multiple-origin-issue/43870/1 "2025-07-14T13:01:39Z")

</div>

Hello,

I’m trying to create multiple origin host name (within the same origin group) in an Azure Front Door profile.  
The code is executed without error BUT only the first entry is added to the origin group…

# Create Origin from Blob in Storage Account Francfort

- name: Create Azure Front Origin “{{ azure\_fd\_origin\_1\_1\_1\_name\_id }}” in location “{{ azure\_location\_0\_id }}”  
azure.azcollection.azure\_rm\_afdorigin:  
subscription\_id: “{{ azure\_subscription\_id }}”  
#client\_id: “{{ azure\_client\_id }}”  
#secret: “{{ azure\_secret\_id }}”  
tenant: “{{ azure\_tenant\_id }}”  
ad\_user: “{{ azure\_ad\_user\_id }}”  
password: “{{ azure\_ad\_user\_password\_id }}”  
resource\_group: “{{ azure\_resource\_group\_name\_infra\_1\_id }}”  
name: “{{ azure\_fd\_origin\_1\_1\_1\_name\_id }}”  
profile\_name: “{{ azure\_fd\_profile\_1\_name\_id }}”  
origin\_group\_name: “{{ azure\_fd\_origin\_group\_1\_1\_name\_id }}”  
host\_name: “[xxxx.z1.web.core.windows.net](http://xxxx.z1.web.core.windows.net)”  
origin\_host\_header: “[xxxx.z1.web.core.windows.net](http://xxxx.z1.web.core.windows.net)”  
http\_port: 80  
https\_port: 443  
priority: 1  
weight: 100  
enabled\_state: “Enabled”

# Create Origin from Blob in Storage Account Paris

- name: Create Azure Front Origin “{{ azure\_fd\_origin\_1\_1\_2\_name\_id }}” in location “{{ azure\_location\_0\_id }}”  
azure.azcollection.azure\_rm\_afdorigin:  
subscription\_id: “{{ azure\_subscription\_id }}”  
#client\_id: “{{ azure\_client\_id }}”  
#secret: “{{ azure\_secret\_id }}”  
tenant: “{{ azure\_tenant\_id }}”  
ad\_user: “{{ azure\_ad\_user\_id }}”  
password: “{{ azure\_ad\_user\_password\_id }}”  
resource\_group: “{{ azure\_resource\_group\_name\_infra\_1\_id }}”  
name: “{{ azure\_fd\_origin\_1\_1\_2\_name\_id }}”  
profile\_name: “{{ azure\_fd\_profile\_1\_name\_id }}”  
origin\_group\_name: “{{ azure\_fd\_origin\_group\_1\_1\_name\_id }}”  
host\_name: “[yyyy.z28.web.core.windows.net](http://yyyy.z28.web.core.windows.net)”  
origin\_host\_header: “[yyyy.z28.web.core.windows.net](http://yyyy.z28.web.core.windows.net)”  
http\_port: 80  
https\_port: 443  
priority: 2  
weight: 100  
enabled\_state: “Enabled”

Any idea ?

Regards,

HA
