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 answers
Related Questions in AZURE-RESOURCE-MANAGER
- Error: The template deployment 'template' is not valid according to the validation procedure
- Enabling minimum apiVersion to 2021-08-01 in Azure API Management causing saving issues or deployment errors for existing logic apps
- Failed to create ISE, as i want to use this enable netorking in Logic app
- Get Input Asset or Output Asset from JobId or SmoothStreamingUrl - Azure Media Services
- Why is "Export Template" button not clickable
- Azure bicep set role assignment on storage account in a different subscription/resource group
- Issue with bicep template for subnet
- PowerShell Output Property Formatting
- Access output values from azure devops bicep deployment
- Powershell 7: Issue with Where-Object and tags
- Microsoft.Insights/scheduledQueryRules can't update Scope
- Get list of assigned users in an Azure Virtual Desktop host pool using Powershell
- Azure machine learning templates in ARM templates
- Fetching owner details in Azure resources created an year ago
- resourceId function find resource in different resource group
Related Questions in AZURE-POWERSHELL
- Powershell - Error while adding CC and BCC - Missing '=' after key in hash literal
- PowerShell - Concatenate Two HTML Tables
- How to list the databases/models under Azure Analysis Services using Powershell?
- Powershell error " incomplete string token"
- Az Powershell Module commands hang
- Get today's Jenkins builds and and check if there are any success builds using PowerShell
- How can I know which certificate is able to decrypt a string?
- How to create an Azure VM from an existing managed disk with PowerShell?
- Get-AzConnectedMachineExtension returns True for enableAutomaticUpgrade when Null is expected
- Not listing the files and folders inside the azure file share
- Azure diagnostic settings creation via powershell is not working
- Update Data flow connection details for a given Power BI report Dataset
- Caching (?) issue with Set-AzSqlDatabase to rename a database
- List Virtual Machine in an azure site recovery plan
- invalid_grant error - PowerShell Azure PartnerCenter Get-PartnerCustomer API call
Related Questions in AZURE-RM-TEMPLATE
- Parameterise ADF Activity timeout in ARM template parameters definiton file?
- self service approach for creating AzureCosmos DB collection and indexes using AzureBicepse or ARM template
- Cloning resources group into another
- How do I specify in an ARM template that my storage account should have `Public network access` set to `Disabled`?
- Add list of configs in app_settings configuration block
- Can't configure a value for "network_interface": its value will be decided │ automatically based on the result of applying this configuration
- How to deploy a "Logic App Standard" with multiple workflows via arm template
- Unable to create vnet peering on azure using terraform and csv data
- Azure DevOps Pipeline Failure : Validate and Generate ARM template error message
- How to return only one pipeline using template-parameters-definition.json synapse
- How to manage VMs created through azure test drive
- dacpac SQL database deploy task devops not updating tables
- Network Watcher ARM Template Fails to Deploy
- Validate and generate ARM template with "npm run build validate" throws validation error in CI/CD pipeline
- Is it possible to iterate effects in azure policy
Related Questions in AZURE-CDN
- Azure CDN and caching control show TCP_MISS
- Azure CDN - long response time, not loading sometimes
- Show Maintenance domain if web app is stopped
- Azure static website with Azure CDN shows white screen only
- Purge azure static web apps enterprise-grade edge (CDN) using Azure CLI
- Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". (Angular + Azure CDN)
- Non-Cached Data Being Served as Cached Data in Front Door
- Getting AuthorizationFailed error while attempting to purge Azure CDN cache for particular content file
- Redirect Loop with Azure CDN
- Error creating Azure CDN Endpoint: Invalid HostName - Must be a valid domain name, IP version 4, or IP version 6
- How to use Azure CDN with disabled anonymous blob access?
- CORS errors when using an Azure CDN with multiple origins
- Rewrite url for the final path using CDN
- Problem With Azure CDN Cache configuration
- How exactly does the pre-load of assets on CDN endpoints work?
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?
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)

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.