Giter Club home page Giter Club logo

azure-sp-tool's People

Contributors

danhigham avatar jeenalshah avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

azure-sp-tool's Issues

Cannot create SP, err is appId of null

I have logged in to the azure cli
$azure --version
0.10.5 (node: 6.7.0)

When I try to create service principal, I get the error
TypeError: Cannot read property 'appId' of null

Details

$azure-sp-tool create-sp
Creating application...ERROR: Error: We don't have a valid access token. Please run "azure login" again.
/Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/index-create-sp.js:143
    clientID: clientId.appId,
                      ^

TypeError: Cannot read property 'appId' of null
    at /Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/index-create-sp.js:143:23
    at /Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/node_modules/async/dist/async.js:486:20
    at /Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/node_modules/async/dist/async.js:5013:37
    at /Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/node_modules/async/dist/async.js:339:31
    at /Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/node_modules/async/dist/async.js:847:20
    at /Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/index-create-sp.js:114:9
    at /Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/node_modules/azure-graph/lib/operations/applicationOperations.js:151:14
    at retryCallback (/Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/node_modules/ms-rest/lib/filters/exponentialRetryPolicyFilter.js:140:9)
    at handleRedirect (/Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/node_modules/ms-rest/lib/filters/redirectFilter.js:36:9)
    at /Users/rjain/.nvm/versions/node/v6.7.0/lib/node_modules/azure-sp-tool/node_modules/ms-rest/lib/filters/signingFilter.js:19:18

azure-sp-tool create-sp fails

I'm having the same issue when creating azure-sp-tool create-sp
fails with
Creating application...ERROR: Error: We don't have a valid access token. Please run "azure login" again.
/usr/local/lib/node_modules/azure-sp-tool/index-create-sp.js:143
clientID: clientId.appId,
^

TypeError: Cannot read property 'appId' of null
at /usr/local/lib/node_modules/azure-sp-tool/index-create-sp.js:143:23
at /usr/local/lib/node_modules/azure-sp-tool/node_modules/async/dist/async.js:484:16
at /usr/local/lib/node_modules/azure-sp-tool/node_modules/async/dist/async.js:5200:33
at apply (/usr/local/lib/node_modules/azure-sp-tool/node_modules/async/dist/async.js:41:25)
at /usr/local/lib/node_modules/azure-sp-tool/node_modules/async/dist/async.js:76:12
at /usr/local/lib/node_modules/azure-sp-tool/node_modules/async/dist/async.js:988:16
at /usr/local/lib/node_modules/azure-sp-tool/index-create-sp.js:114:9
at /usr/local/lib/node_modules/azure-sp-tool/node_modules/azure-graph/lib/operations/applicationOperations.js:151:14
at retryCallback (/usr/local/lib/node_modules/azure-sp-tool/node_modules/ms-rest/lib/filters/exponentialRetryPolicyFilter.js:140:9)
at handleRedirect (/usr/local/lib/node_modules/azure-sp-tool/node_modules/ms-rest/lib/filters/redirectFilter.js:36:9)

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.