backstage: π Bug Report: MicrosoftGraphOrgEntityProvider | Error after updating to version 1.25.0
π Description
After updating to the aforementioned version, we are receiving the following error message:
[1] 01/04/2024 16:56:24 [Backstage] | [error]: MicrosoftGraphOrgEntityProvider:default refresh failed, TypeError: coreUtil.randomUUID is not a function coreUtil.randomUUID is not a function
[0] WARNING in ../../node_modules/@azure/identity/dist-esm/src/msal/utils.browser.js 127:15-25
[0] export 'randomUUID' (imported as 'randomUUID') was not found in '@azure/core-util' (possible exports: computeSha256Hash, computeSha256Hmac, delay, getErrorMessage, getRandomIntegerInclusive, isError, isNode, isObject)
[0]
[0] webpack compiled with 1 warning
π Expected behavior
No integration errors.
π Actual Behavior with Screenshots
It is not possible to carry out the authentication process, as we use integration with Microsoft for this purpose.
π Reproduction steps
- Run
yarn backstage-cli versions:bump
- Run
yarn dev
π Provide the context for the Bug.
No response
π₯οΈ Your Environment
OS: Linux 6.5.0-26-generic - linux/x64
node: v18.16.1
yarn: 1.22.19
cli: 0.26.2 (installed)
backstage: 1.25.0
Dependencies:
@backstage/app-defaults 1.5.3
@backstage/backend-app-api 0.6.2
@backstage/backend-common 0.21.6
@backstage/backend-dev-utils 0.1.4
@backstage/backend-openapi-utils 0.1.9
@backstage/backend-plugin-api 0.6.16
@backstage/backend-tasks 0.5.21
@backstage/catalog-client 1.6.3
@backstage/catalog-model 1.4.5
@backstage/cli-common 0.1.13
@backstage/cli-node 0.2.4
@backstage/cli 0.26.2
@backstage/config-loader 1.7.0
@backstage/config 1.2.0
@backstage/core-app-api 1.12.3
@backstage/core-compat-api 0.2.3
@backstage/core-components 0.10.0, 0.11.2, 0.12.5, 0.14.3
@backstage/core-plugin-api 1.9.1
@backstage/dev-utils 1.0.30
@backstage/errors 1.2.4
@backstage/eslint-plugin 0.1.6
@backstage/frontend-plugin-api 0.6.3
@backstage/integration-aws-node 0.1.12
@backstage/integration-react 1.1.25
@backstage/integration 1.9.1
@backstage/plugin-analytics-module-ga4 0.2.3
@backstage/plugin-api-docs 0.11.3
@backstage/plugin-app-backend 0.3.64
@backstage/plugin-app-node 0.1.16
@backstage/plugin-auth-backend-module-atlassian-provider 0.1.8
@backstage/plugin-auth-backend-module-aws-alb-provider 0.1.8
@backstage/plugin-auth-backend-module-gcp-iap-provider 0.2.11
@backstage/plugin-auth-backend-module-github-provider 0.1.13
@backstage/plugin-auth-backend-module-gitlab-provider 0.1.13
@backstage/plugin-auth-backend-module-google-provider 0.1.13
@backstage/plugin-auth-backend-module-microsoft-provider 0.1.11
@backstage/plugin-auth-backend-module-oauth2-provider 0.1.13
@backstage/plugin-auth-backend-module-oauth2-proxy-provider 0.1.9
@backstage/plugin-auth-backend-module-oidc-provider 0.1.7
@backstage/plugin-auth-backend-module-okta-provider 0.0.9
@backstage/plugin-auth-backend 0.22.3
@backstage/plugin-auth-node 0.4.11
@backstage/plugin-auth-react 0.0.3
@backstage/plugin-catalog-backend-module-github 0.5.7
@backstage/plugin-catalog-backend-module-msgraph 0.5.24
@backstage/plugin-catalog-backend-module-scaffolder-entity-model 0.1.14
@backstage/plugin-catalog-backend 1.21.0
@backstage/plugin-catalog-common 1.0.22
@backstage/plugin-catalog-graph 0.4.3
@backstage/plugin-catalog-import 0.10.9
@backstage/plugin-catalog-node 1.11.0
@backstage/plugin-catalog-react 1.11.2
@backstage/plugin-catalog 1.18.2
@backstage/plugin-dynatrace 10.0.2
@backstage/plugin-events-node 0.3.2
@backstage/plugin-home-react 0.1.11
@backstage/plugin-home 0.7.2
@backstage/plugin-kubernetes-backend 0.16.3
@backstage/plugin-kubernetes-common 0.7.5
@backstage/plugin-kubernetes-node 0.1.10
@backstage/plugin-kubernetes-react 0.3.3
@backstage/plugin-kubernetes 0.11.8
@backstage/plugin-org 0.6.23
@backstage/plugin-permission-backend 0.5.40
@backstage/plugin-permission-common 0.7.13
@backstage/plugin-permission-node 0.7.27
@backstage/plugin-permission-react 0.4.21
@backstage/plugin-proxy-backend 0.4.14
@backstage/plugin-scaffolder-backend-module-azure 0.1.8
@backstage/plugin-scaffolder-backend-module-bitbucket-cloud 0.1.6
@backstage/plugin-scaffolder-backend-module-bitbucket-server 0.1.6
@backstage/plugin-scaffolder-backend-module-bitbucket 0.2.6
@backstage/plugin-scaffolder-backend-module-gerrit 0.1.8
@backstage/plugin-scaffolder-backend-module-gitea 0.1.6
@backstage/plugin-scaffolder-backend-module-github 0.2.6
@backstage/plugin-scaffolder-backend-module-gitlab 0.3.2
@backstage/plugin-scaffolder-backend 1.22.3
@backstage/plugin-scaffolder-common 1.5.1
@backstage/plugin-scaffolder-node 0.4.2
@backstage/plugin-scaffolder-react 1.8.3
@backstage/plugin-scaffolder 1.19.2
@backstage/plugin-search-backend-module-catalog 0.1.21
@backstage/plugin-search-backend-module-pg 0.5.25
@backstage/plugin-search-backend-module-techdocs 0.1.21
@backstage/plugin-search-backend-node 1.2.20
@backstage/plugin-search-backend 1.5.6
@backstage/plugin-search-common 1.2.11
@backstage/plugin-search-react 1.7.9
@backstage/plugin-search 1.4.9
@backstage/plugin-signals-node 0.1.2
@backstage/plugin-signals-react 0.0.2
@backstage/plugin-sonarqube-backend 0.2.18
@backstage/plugin-sonarqube-react 0.1.14
@backstage/plugin-sonarqube 0.7.15
@backstage/plugin-tech-radar 0.7.2
@backstage/plugin-techdocs-backend 1.10.3
@backstage/plugin-techdocs-module-addons-contrib 1.1.8
@backstage/plugin-techdocs-node 1.12.2
@backstage/plugin-techdocs-react 1.2.2
@backstage/plugin-techdocs 1.10.3
@backstage/plugin-user-settings 0.8.4
@backstage/release-manifests 0.0.11
@backstage/test-utils 1.5.3
@backstage/theme 0.2.18, 0.5.2
@backstage/types 1.1.1
@backstage/version-bridge 1.0.7
Done in 0.65s.
π Have you spent some time to check if this bug has been raised before?
- I checked and didnβt find similar issue
π’ Have you read the Code of Conduct?
- I have read the Code of Conduct
Are you willing to submit PR?
No, but Iβm happy to collaborate on a PR with someone else
About this issue
- Original URL
- State: closed
- Created 3 months ago
- Comments: 15 (14 by maintainers)
That solved it! Now itβs time to adapt the code (it was in version 1.20.3) to the new one.
can you try removing
@azure/identity
and@azure/core-util
from youryarn.lock
and do ayarn install
? It looks like some of those packages are incompatible with each other, but not sure of the fix for this.I think that this is pointing to
@types/react
and/or@types/react-dom
being out of date. Do you have something similar to this in your rootpackage.json
? https://github.com/backstage/backstage/blob/master/package.json#L89-L90