Giter VIP home page Giter VIP logo

Comments (7)

thobach avatar thobach commented on August 14, 2024

@dvnnyburgx The issue seems to be with generating the access token. I suggest to try again the whole installation in the Azure portal and update the oauth* configuration parameters accordingly. If you like you can also contact me on twitter with a direct message (https://twitter.com/thobach) and I'll let you know my email address to send me screenshots of the Azure portal configuration.

from mmm-microsofttodo.

Alex-lob avatar Alex-lob commented on August 14, 2024

Hello, I have the same problem after the MM ran for months without any problems.

from mmm-microsofttodo.

mithrandir80 avatar mithrandir80 commented on August 14, 2024

It looks like I have a similar problem after months of working perfectly. Error message in MagicMirror was that user could not be authenticated due to account expiration. After login in Azure/Microsoftonline I see a message:
The logged in user is not authorised to fetch tokens for extension ‘Microsoft_AAD_IAM’ because user is not a member of tenant.

D5C4FA55-A936-4D86-89D4-8EF63C6E2859

Any ideas to solve this issue (it used to worked like a charm ;-)

from mmm-microsofttodo.

mirko3000 avatar mirko3000 commented on August 14, 2024

Same for me here, used to work still few days ago, now after fresh install I also get a bad request on login with my tokens:


18.05.2022 21:33.58.198] [ERROR] Response {
  size: 0,
  timeout: 0,
  [Symbol(Body internals)]: {
    body: PassThrough {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: true,
      [Symbol(kCapture)]: false,
      [Symbol(kCallback)]: null
    },
    disturbed: false,
    error: null
  },
  [Symbol(Response internals)]: {
    url: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',
    status: 400,
    statusText: 'Bad Request',
    headers: Headers { [Symbol(map)]: [Object: null prototype] },
    counter: 0
  }
}

from mmm-microsofttodo.

mithrandir80 avatar mithrandir80 commented on August 14, 2024

What worked for me was going through the azure process again. Following the steps in the tutorial from Client Secret Key Generation till the end. I deleted old secret key first but might work with two as well.

from mmm-microsofttodo.

thobach avatar thobach commented on August 14, 2024

@mirko3000 @dvnnyburgx Does the workaround from @mithrandir80 work for you as well?

What worked for me was going through the azure process again. Following the steps in the tutorial from Client Secret Key Generation till the end. I deleted old secret key first but might work with two as well.

You could also check first if the secret at this screen is not expired.

from mmm-microsofttodo.

mirko3000 avatar mirko3000 commented on August 14, 2024

@thobach: yes actually that solved my issue here. Maybe because my old client secret was valid for more than 2 years (not allowed anymore)? Anyhow, working now again, thanks all!

from mmm-microsofttodo.

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.