I have already created and been using a CDN endpoint with origin type of 'Custom origin' that was pointed to an Application Gateway. Now I want to change the origin type to 'Web app' and point to a Function App. I am able to change the hostName property to the Function App URL but I cannot find a way to change the origin type and the value continues to be 'Custom origin'. I do not see a property in the ARM template nor any properties in the PowerShell commandlets. Is there a way to change it or do I need to delete and recreate?
How to Change a CDN Endpoint Origin Type
1.2k Views Asked by Stringfellow At
1
There are 1 best solutions below
Related Questions in AZURE-RESOURCE-MANAGER
- Azure Resource manager .Net API fails to get Resource group
- How to see health of instances in a load balancer?
- How can I use Azure-provided DNS for Resource Manager VMs?
- Azure manage compute API is failing with InvalidAPIVersion error
- Output admin URL string from azuredeploy / ARM script
- Azure ARM Templates
- How to capture Azure VM Image with "Specialized" VM creation type using power shell? or How to create a Specialized image of a RM VM?
- How to Copy Azure SQL Database using ARM Template
- Creating Azure VM from custom image
- How can I make my Azure logic app portable
- What is the best practice for updating an already existing web app deployment using ARM?
- Azure Container Services: Who patches, updates,... (Kubernetes)
- Powershell script can't execute Register-ScheduledJob as a Azure Resource Manager CustomScriptExtension
- Azure DSC Extension: What is "Module-qualified Name of Configuration"
- Azure Logic Apps - ARM template to deploy filesystem API connection
Related Questions in AZURE-POWERSHELL
- How to overcome : Failed to generate Azure Service package?
- Installing Azure powershell in an azure Virtual Machine
- Completion of device setup for Azure StorSimple Virtual Device Fails in Automation Runbooks
- Find out data traffic coming in and going out through azure VM
- A parameter cannot be found that matches parameter name 'MaxSizeGB'
- Unable to Add Azure DB Firewall Rule to Allow Build Server to Run Tests
- Get-AzureSubscription -ExtendedDetails in PowerShell doesn't include certificate
- How to remove Guest user on Azure Active Directory?
- Cannot find an overload for "SoftwareIdentity"
- Why does Azure Powershell script think I'm not logged-in?
- Azure External Load Balancer - Adding LB Rules with PowerShell
- Get-AzureRmAppServicePlan and Get-AzureRmWebApp return exceptions in Runbook
- AzureAD thinks a user exists when they don't
- How to capture Azure VM Image with "Specialized" VM creation type using power shell? or How to create a Specialized image of a RM VM?
- Set-AzureVnetConfig and New-AzureService in specific resource group
Related Questions in AZURE-RM-TEMPLATE
- Unable to upload SSL certificate to Azure with a Service Principal account
- Azure Arm template deployment of a web app zip package programmatically using build artifact
- Do custom script extensions specified in ARM templates run each time the VM is restarted?
- Azure Resource Template: language expression is not supported
- Azure ARM template for an insights alert
- Azure ARM Template for Dropdownn type Parameter
- Arm Template conditional output parameters
- Deploy two Azure App Services to the same App Service Plan using idempotent ARM TEMPLATE
- Create Batch Account and Key Vault in single ARM script
- ARM template automation
- Azure. How to deploy VM from managed image with ARM Template
- Azure Batch Linked Service Not Found in ADF Pipeline
- Multiple conditions in arm templates
- Heat to ARM template conversion via tool present on git hum :: exceptions and error
- How can I configure the password and username of a ClearDb MySQL database in an ARM template
Related Questions in AZURE-CDN
- Azure CDN endpoint working status
- How to enable caching for JS, CSS files in Azure CDN for Azure App Service (Website)
- Godaddy and Azure CDN CName
- What is the difference between token authentication in Azure Blob Storage, and Verizon CDN Premium?
- What would be the best way to synchronize folders and sub folders with Azure CDN
- Hosting WebAPI on a HTTPS Azure Web Role and HTML Javascript on HTTPS Azure CDNs?
- Broken image and display css code on screen
- Serving some files from Azure CDN to only certain users
- How to Change a CDN Endpoint Origin Type
- Azure CDN with Function App Access Restrictions Give 403 Forbidden
- Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". (Angular + Azure CDN)
- Purge azure static web apps enterprise-grade edge (CDN) using Azure CLI
- Azure static website with Azure CDN shows white screen only
- Show Maintenance domain if web app is stopped
- Azure web role with cdn
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

No need to change the
Origin typemanually, when you change theOrigin hostnameto the url of the function app, theOrigin typewill be changed toWeb Appautomatically.Try the powershell command below, it works on my side.
In my sample, the
www-test-comis theOrigin Name, it can not be changed once created, so you can just use the old one. If you want to change it, you need to create a new endpoint.After running the commands, the result will be like below.