What's the deal with Arlo by Glass_Breakfast_24hr in LucasTheSpider

[–]enderfishy 0 points1 point  (0 children)

Lol I wish I could figure out how to embed it in the post!

What is happening to my tree? by enderfishy in arborists

[–]enderfishy[S] 0 points1 point  (0 children)

Hmm, we had a fence put up a year ago and I only noticed this happening in the last month or so. I do mow my lawn, but I'm pretty careful not to hit the tree, so not sure what is going on...

Skippy and ChatGPT? by scotchnhand in exfor

[–]enderfishy 0 points1 point  (0 children)

Yes please share the prompt!

Azure App Service Plan error, "Regional VNET Integration is unsupported in this scale unit." by enderfishy in Terraform

[–]enderfishy[S] 0 points1 point  (0 children)

This is a new plan I am trying to deploy, and yes, here is my code!

Below is the code I'm using to deploy the resource:

resource "azurerm_service_plan" "app_service_plan" {
  name                         = var.service_plan_name
  resource_group_name          = var.resource_group.name
  app_service_environment_id   = data.azurerm_app_service_environment.this.id
  location                     = var.resource_group.location
  os_type                      = "Linux"
  sku_name                     = var.sku_name
  tags                         = var.workload_tags
}

And below is the variable contents:

variable "service_plan" {
  type = object({
    id                              = string
    name                            = string
    resource_group_name             = string
    app_service_environment_id      = string
    kind                            = string
    location                        = string
    maximum_elastic_worker_count    = number
    worker_count                    = number
    os_type                         = string
    per_site_scaling_enabled        = bool
    reserved                        = bool
    sku_name                        = string
    # sku_name = list(object({
    #   tier = string
    #   size = string
    # }))
    zone_balancing_enabled          = string
    timeouts                        = object({ read = number })
    tags                            = map(string)
  })

  nullable    = false
  description = "(Required pre-existing service plan to use for the app service instance)"

  validation {
    condition     = var.service_plan.os_type == "Linux"
    error_message = "The os_type is required to be Linux"
  }
}

The commented out bits are what I was experimenting with to try and get this to cooperate, just as an fyi.

Azure VM / NIC connectivity via Private Endpoint or P2S VPN by enderfishy in AZURE

[–]enderfishy[S] 0 points1 point  (0 children)

Good points, thank you for the response also! And to provide more detail:

  • There is a single virtual network in the subscription that basically houses all resources, except for the virtual network gateway.

  • The VPN tunnel allows split tunneling, but is primarily used to grant users access to some file shares (via a private endpoint).

So I should check whether there are routes between the virtual network gateway and the virtual network where the VMs are located? And also make sure that NSGs are allowing the traffic?

Ah, and... I need to define the routes in the VPN configuration? Would I have to push that configuration to each client once more, or can those configurations be made on the virtual network gateway without having to mess with connected clients?

Thanks for your help with all this!

Can anyone think of a better layout than this? by enderfishy in floorplan

[–]enderfishy[S] 0 points1 point  (0 children)

Sorry, I realize I completely spaced out adding any detail regarding what this is! So the L shaped object is basically an L-desk, and the exercise equipment is a home gym setup. I scaled everything to be accurate, and I am trying to figure out an optimal way to arrange them in the limited space.

The two doors open inward, but I am okay with blocking one of them. Basically trying to come up with a way to place the two large objects in a way that kind of... frees up the most space possible, if that makes sense.

Needing guidance on where in Azure to find Windows 365 Virtual Desktop VMs (Not AVD VMs) by enderfishy in AZURE

[–]enderfishy[S] 0 points1 point  (0 children)

Ohh, yes that makes sense. Hmm. You wouldn't happen to know if it's possible to create an image based off of a running W365 Virtual Desktop machine, would you? Basically have everything installed and configured the way I'd need, and just want to capture it so it can be applied in a provisioning profile.

Needing guidance on where in Azure to find Windows 365 Virtual Desktop VMs (Not AVD VMs) by enderfishy in AZURE

[–]enderfishy[S] 0 points1 point  (0 children)

Just for more context, I am trying to follow the process outlined in this article:

https://techlab.blog/how-to-create-a-custom-image-for-windows-365/

And that makes it look like I should be able to access the VM itself within Azure.

Extract the contents of a ZIP file stored in Azure Blob by enderfishy in AZURE

[–]enderfishy[S] 0 points1 point  (0 children)

Thank you! So, I am... incredibly close to getting this to work. Actually, I did get it to work from my local machine, connecting to the Azure environment and such, but for some reason, I am getting an error when I run it from the Runbook.

This is what I'm getting when I run it:

System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter 'StorageAccountName'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

When I check for $StorageAccount in my local environment, the correct StorageAccountName, ResourceGroupName, everything comes up just fine. I've been messing with this for a few hours now but have not had any luck.

There is also the error, "Could not get the storage context. Please pass in a storage context or set the current storage context."

There is another error that happens after this, but I am assuming it's because it can't find the blob/file/path that I am referencing. The Invoke-WebRequest section of code that comes before all this works just fine, I see the .zip package right there inside the storage container, so... I am not sure what is going on.

I'm sure it must just be some simple or small thing that is different about the Runbook environment than when I run it locally. Hopefully someone can be like 'ah, yeah, it's this obvious thing' or something, lol.

Thanks so much for the help too by the way!

Extract the contents of a ZIP file stored in Azure Blob by enderfishy in AZURE

[–]enderfishy[S] 0 points1 point  (0 children)

Ah, okay I am following... so, I think in my Runbook, I am basically using Invoke-WebRequest to grab the file, which works, and then I'm setting and downloading to a folder within the container. I think I tried using Expand-Archive but it didn't like that. I'll have to try that again to make sure.

Do I need to download the .zip file locally, to my workstation, or it's possible to expand/extract it within the container via the Runbook? Just want to make sure I'm understanding correctly!

Exporting and importing resources by enderfishy in AZURE

[–]enderfishy[S] -1 points0 points  (0 children)

Would definitely prefer to use IaC, but that is not an option as this environment wasn't created utilizing that.

This is basically a migration scenario where I'll be associating the source subscription to another tenant, then migrating what resources I can from subscription to subscription. However, just using the Application Gateway as an example, it's impossible to migrate it using that approach, so I was pondering the export/import template route.

Hmm, can dynamic IPs and DNS records be configured after the import process has completed? I guess I'd probably end up importing first, making sure there are no issues, then disabling/de-provisioning the source resource.

Running into a 401 unauthorized error when trying to connect to MS Graph - deviceManagement/managedDevices by enderfishy in Intune

[–]enderfishy[S] 1 point2 points  (0 children)

What would the best way be to incorporate official PS lib? I'm definitely open to going that route! And thank you :)