Giter Club home page Giter Club logo

Comments (6)

Sabrthor avatar Sabrthor commented on May 27, 2024 1

Hello @Claudio-Merola , the new script worked better than the previous one. I still see error messages in the job section, this makes me wonder did it pull out all the resources?

Capture

Few of the messages from the Job streams:

InvalidOperation: Line | 45 | $VNET = $data.virtualNetworkSubnetId.split("/")[8] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | You cannot call a method on a null-valued expression.

InvalidOperation: Line | 46 | $SUBNET = $data.virtualNetworkSubnetId.split("/")[10] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | You cannot call a method on a null-valued expression.

Remove-Variable: Line | 174 | … Remove-Variable PIP, vmnic, vmnsg, VNET, Subnet | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Cannot find a variable with the name 'PIP'.

InvalidOperation: Line | 121 | … $PIP = $vmnic.properties.ipConfigurations.properties.publ … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | You cannot call a method on a null-valued expression.
Is there something I am doing differently?

from ari.

Claudio-Merola avatar Claudio-Merola commented on May 27, 2024

Hello,

The Automation Account method is outdated, we are working on a newer version.

To be honest I'm surprised it worked that far.

Do you have App Services in your environment? By the error message I believe it is complaining by empty values in that resource.

from ari.

Sabrthor avatar Sabrthor commented on May 27, 2024

Hello,

Yes, we indeed have quite a few App Services running in our environment. How do I go around this error message? Could you please advise?

from ari.

Claudio-Merola avatar Claudio-Merola commented on May 27, 2024

Hello @Sabrthor,

Can you try the new automation account method we release in the version 3.0?

Thanks

from ari.

Claudio-Merola avatar Claudio-Merola commented on May 27, 2024

Hi @Sabrthor

Last week I fixed a bug in the script that might have relation with your issue.

Can you try the updated version of the Automation Script and see how it goes?

Thanks

from ari.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.