Git Product home page Git Product logo

msgraph-sample-spfx's People

Contributors

andrewconnell avatar ballzer0 avatar dependabot[bot] avatar dodaromike avatar github-actions[bot] avatar jasonjoh avatar jthake avatar juliemturner avatar microsoft-github-policy-service[bot] avatar yinaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

msgraph-sample-spfx's Issues

Lab 1 issues: has no exported member 'MSGraphClient'

import { MSGraphClient } from '@microsoft/sp-http';

on "gulp build" I get the following errors:
error TS2305: Module '"/node_modules/@microsoft/sp-http/lib/index"' has no exported member 'MSGraphClient'.

Using SPFx 1.6

Note: as i followed the directions, when I executed "npm install @microsoft/microsoft-graph-types --save-dev"

I got:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

  • @microsoft/[email protected]
    added 1 package and audited 273618 packages in 23.898s
    found 410 vulnerabilities (177 low, 28 moderate, 198 high, 7 critical)
    run npm audit fix to fix them, or npm audit for details

Any help would be greatly appreciated! I have searched many hours trying to find a solution...

3rd Party Cookies causing issues?

So, maybe 1/4 of our users started having a popup that says "Additional credentials are required to show this page correctly" when we tried to roll out just the Profile web part.

After some research, it seems that this is specifically tied to the 3rd party cookies settings of a user. If it is set to Allow, everything seems to work great. But it if is set to prompt or block. There are all kinds of crazy results. Some users can just click ok at the popup and everything loads. Some people end up going into an infinite loop of refreshing.

Are 3rd party cookies the only way this works? Or is there something that can be done to get around that setting on users browsers?

Service principal for permission request could not be found

I followed this demo and I can see the graph permission requests in the Pending Approval section in SharePoint admin centre's API Management. However when approving them I encounter the following error:
[HTTP]:400 - [CorrelationId]:8246e09e-6091-0000-2e69-e12349864888 [Version]:16.0.0.8915 - The service principal for permssion request ms-graph-sp-fx-client-side-solution could not be found.

I did some research on this issue but couldn't find a solution. MS Support is not helpful in resolving this issue too. Any advice please?

typo in tutorial / 02-create-app.md

Where did you get the code?
Followed the tutorial from Microsoft Graph tutorials
https://docs.microsoft.com/en-us/graph/tutorials/spfx?tutorial-step=1

Describe the bug
In the Tutorial - 02-create-app (Create an SPFX web Part) is a typo in the installation of the dependencies. In the second command you should execute "npm install @microsoft/[email protected] date-fns @2.21.1". There is a wrong space here, which causes npm not to recognize the command. The correct command should be "npm install @microsoft/[email protected] [email protected]".

To Reproduce
Steps to reproduce the behavior:

  1. Try to Install dependencies
  2. See error

Desktop (please complete the following information):

  • npm version 8.0.0

GraphPersona not rendering photo

In the graphClient call '/me/photo/$value'

const blobUrl = window.URL.createObjectURL(rawResponse.xhr.response);
returns and error.

Changes it to:
const blobUrl = window.URL.createObjectURL(photoResponse);

I now get the photo rendered.

Rendering different date in the Event app

Hi,
I tested the Event graph app and in the console I get one datetime but on the page renders another.

skarmklipp_li

Is it something to do with the regional settings?
regards

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.