Giter Club home page Giter Club logo

azureclassroom's Introduction

AZUREClassRoom

ClassRoom Running Notes

azureclassroom's People

Contributors

qtsathish avatar shaikkhajaibrahim avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

azureclassroom's Issues

move the data from on premises to the cloud (vm in azure)

While creating the migration project, i am not able to create it, since the UI used at the time was different and now and a different.
Now it is asking to add the tools and select the migration steps, the migration windows which we have seen is not seen now ?
will there be any change in the UI.

Regards
j prasad

Module could not be loaded

"while connecting Azure account from PS got below error.could you please help on this."
PS C:\Users\Administrator> Connect-AzAccount
Connect-AzAccount : The 'Connect-AzAccount' command was found in the module 'Az.Accounts', but the module could not be loaded. For more
information, run 'Import-Module Az.Accounts'.
At line:1 char:1

  • Connect-AzAccount
  •   + CategoryInfo          : ObjectNotFound: (Connect-AzAccount:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
    

Create the directory mkdir jenkins cd jenkins ,vagrant box add bento/ubuntu16.04, vagrant init bento/ubuntu16.04

C:\jenkins>vagrant box add bento/ubuntu16.04

The box 'bento/ubuntu16.04' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
vagrant login. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://vagrantcloud.com/bento/ubuntu16.04"]

Error: The requested URL returned error: 404 Not Found

Both RM and AZ were installed but could not connect one of them.

PS C:\Users\Administrator> Connect-AzAccount
Connect-AzAccount : The 'Connect-AzAccount' command was found in the module 'Az.Accounts', but the module could not be loaded. For more
information, run 'Import-Module Az.Accounts'.
At line:1 char:1

  • Connect-AzAccount
  •   + CategoryInfo          : ObjectNotFound: (Connect-AzAccount:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
    
    
    

PS C:\Users\Administrator> Connect-AzureRmAccount
Connect-AzureRmAccount : The term 'Connect-AzureRmAccount' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • Connect-AzureRmAccount
  •   + CategoryInfo          : ObjectNotFound: (Connect-AzureRmAccount:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    

Issue while executing template from portal

Below is my ARM template
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"locate":{
"type": "string",
"defaultValue": "Central US",
"allowedValues": ["Central US", "East US"]
},
"subnet-cidr":{
"type": "array",
"defaultValue": ["10.0.0.0/24", "10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
},
"subnet-name":{
"type": "array",
"defaultValue": ["max", "min", "med", "smax" ]
}

},
"variables": {
    "vnetwork": {
        "type": "string",
        "defaultValue": "lgnetwork"
    },
    "space": {
        "type": "array",
        "defaultValue": ["10.0.0.0/16"]
         
    }
},
"resources":[
    {
        "name": "[variables('vnetwork')]",
        "type": "Microsoft.Network/virtualNetworks",
        "apiVersion": "2019-04-01",
        "location":"[parameters('locate')]",
        "properties": {
            "addressSpace":{
                "addressPrefixes": ["[variables('space')]"]
            }
        }
    },
    {
        "name": "[concat(variables('vnetwork'),'/', parameters('subnet-name')[copyIndex()])]",
        "type": "Microsoft.Network/virtualNetworks/subnets",
        "apiVersion": "2019-04-01",
        "location": "[parameters('locate')]",
        "properties": {
            "addressPrefix": "[parameters('subnet-cidr')[copyIndex()]]"
        },
        "dependsOn": 
            "[variables('vnetwork')]"
        ],
        "copy": {
            "name": "subnetloop",
            "count": "[length(parameters('subnet-cidr'))]",
            "mode": "Serial"
        }
    }
    
]

}

When i executed from portal facing an error

{"telemetryId":"7f66c350-9450-42cd-8fdc-18af594200e5","bladeInstanceId":"Blade_5d006d57516d4b989d0bd8da7fec62d4_50_0","galleryItemId":"Microsoft.Template","createBlade":"DeployToAzure","code":"InvalidTemplate","message":"Deployment template language expression evaluation failed: 'Unable to evaluate language function 'concat': all function arguments must be string literals, integer values, boolean values or arrays. Please see https://aka.ms/arm-template-expressions/#concat for usage details.'. Please see https://aka.ms/arm-template-expressions for usage details.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":0,"positionNumber":0,"snippet":""}}]}

Could you guys help me in resolving this issue.

Thanks,
qt-Yatindra

unable to install sql-server-express getting error message

ERROR: Running ["C:\Users\Sajan Sanvika\AppData\Local\Temp\chocolatey\sql-server-express\14.1801.3958.1\SQLEXPR\setup.exe" /IACCEPTSQLSERVERLICENSETERMS /Q /ACTION=install /INSTANCEID=SQLEXPRESS /INSTANCENAME=SQLEXPRESS /UPDATEENABLED=FALSE ] was not successful. Exit code was '-2054422508'. See log for possible error messages.
The install of sql-server-express was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\sql-server-express\tools\chocolateyinstall.ps1'.
See log for details.

Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures

  • sql-server-express (exited -2054422508) - Error while running 'C:\ProgramData\chocolatey\lib\sql-server-express\tools\chocolateyinstall.ps1'.
    See log for details.
    sql serer express

Issue with ARM template

Hello Team,

I have created json file to create a vnet with 4 subnets. However it is failed while executing with below error.

image

validations done:
Changed data in json document to create only one subnet. No luck
Assigned network access provider to sbscription.
image

Below is my json script

{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"name": "supernetwork",
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2019-04-01",
"location":"Central US",
"properties": {
"addressSpace":{
"addressPrefixes": ["192.168.0.0/16"]
},
"subnets": [
{
"name": "subnet1",
"properties": {
"addressPrefixes": ["192.168.0.0/24"]
},
"name": "subnet2",
"properties":{
"addressPrefixes": ["192.168.1.0/24"]
},
"name": "subnet3",
"properties":{
"addressPrefixes": ["192.168.2.0/24"]
},
"name": "subnet4",
"properties":{
"addressPrefixes": ["192.168.3.0/24"]
}
}
]
}
}
]

}

Note: Resource group is created

Thanks,
QT- Yatindra

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.