Comments (4)
This is now fixed.
from sharepoint.
When running in /_layouts/15/workbench.aspx on a site with 6 members and me the owner, The line 81 client.api("/groups/"+groupID+"/members").get().then(membersResponse => {
showes in the debugger: https://graph.microsoft.com/v1.0/groups/503e6aad-6f34-42ee-b933-4cad58424e00/members 403 (Forbidden)
but running the same call in graph explorer, does show all the members.
I deployed to Sharepoint and added the web part in the team's site. But it is hitting the same 403 error.
Is there something I can do to allow this line to work?
how did you test it?
from sharepoint.
You need to approve API permissions for SharePoint Framework on SharePoint Admin Center. There should be Group.Read.All and Presence.Read.All Microsoft Graph permissions pending.
Direct link to API management:
https://-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx#/webApiPermissionManagement
from sharepoint.
Thanks.
Now I see the graphics on the workbench but not in an embedded web part.
The console shows:
Access to XMLHttpRequest at 'https://waconatm.officeapps.live.com/apc/trans.gif?416e472b0562559419456648fea6d81b' from origin 'https://{mytenant}.sharepoint.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
This is weird because everything is under https://{mytenant}.sharepoint.com even the workbench
from sharepoint.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharepoint.