-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find 'configure site diagnostics' #317
Comments
Hi @matthewcanty I recently faced a similar problem, so I decided to figure out what the OLD and NEW In essence, I think the answer to your question is:
Roughly speaking, the following properties (as returned by Get-AzureWebsite) correspond
My experiments yielded the following results (i.e. property value and the corresponding settings
|
@mcrsw looks really interesting. I will have to come back to this at some point and I'm sure this will be very helpful when I do. Can you confirm that this has solved your issue, or if these are just findings? |
@matthewcanty these are just my findings to date. I'm still in the discovery stage ;-) yet I shall report back with actual success/failure over the next few days. Just out of interest - are you expecting to use the ARM, or the ASM related cmdlets to modify your website's config? As a newbie to the powershell cmdlets, I'm not clear yet on whether it is wise to mix ARM and ASM in the same .ps1 file (for example)? I'm aware of the need to Switch-AzureMode - but that gives a deprecated warning. |
I wouldn't be able to advise on that front... I'm not sure exactly what ASM is. Just checked out https://msdn.microsoft.com/en-us/library/dn722470.aspx It suggests not switch during the same session but otherwise looks okay to use in the same script. |
We are no longer taking any changes in Azure.Websites. Please use the AzureRM modules in the future. |
are we also including the retention date here ? the script works but we are not getting the errors. |
I'm looking for the cmdlets for the feature listed above. I have been able to set up application logs successfully. However I am hitting a roadblock in find the corresponding cmdlet for 'site diagnostics'.
Expected parameters include:
The text was updated successfully, but these errors were encountered: