Anders Wahlqvist

My feedback

  1. 207 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    23 comments  ·  Web Apps  ·  Flag idea as inappropriate…  ·  Admin →
    Anders Wahlqvist commented  · 

    @Anonymous : Also try to add ".ToString()" to the ipAddress property, like this:
    $WebAppConfig.Properties.ipSecurityRestrictions = @([PSCustomObject] @{ ipAddress = '127.0.0.1'.ToString() ; subnetMask = '255.0.0.0' })

    And see if that helps.

    Anders Wahlqvist commented  · 

    Sorry for my late response!

    It should definitively work, we're doing it constantly using that approach without any issues so it seems you're doing something differently, not sure what though I'm afraid.

    A guess though... Are you writing back the entire config section and not only the IP restriction part? ($config.Properties basically).

    Try using ApiVersion 2016-08-01 by the way, I know that should work currently.

    Anders Wahlqvist commented  · 

    This has actually been possible for quite some time, maybe not completely straight forward compared to having support for it in the AzureRm.Websites cmdlets but to give you a hint (you obviously want to change the array of IP addresses you're adding):

    $WebAppConfig = Get-AzureRMResource -ResourceName MyWebApp -ResourceType Microsoft.Web/sites/config -ResourceGroupName MyResourceGroup

    $WebAppConfig.Properties.ipSecurityRestrictions = @([PSCustomObject] @{ ipAddress = '127.0.0.1' ; subnetMask = '255.0.0.0' })

    Set-AzureRmResource -ResourceId $WebAppConfig.ResourceId -Properties $WebAppConfig.Properties -ApiVersion 2016-08-01

  2. 58 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Automation » PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
    Anders Wahlqvist supported this idea  · 
  3. 65 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  Azure Media Services » Azure Media Player  ·  Flag idea as inappropriate…  ·  Admin →

    This feature is a future planned item.

    Audio Only scenarios are currently supported by live streaming pipeline, but not fully supported by Azure Media Player on DASH and on some platform with Smooth Streaming. You can use iOS native player to play audio only HLS output untill AMP gets the support.

    Anders Wahlqvist supported this idea  · 

Feedback and Knowledge Base