問題タブ [microsoft-graph-edu]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
211 参照

php - Microsoft Graph - POST 要求エラー 20132

Microsoft Graph を使用して割り当てを作成するための POST 要求を取得できないようです。

Graph Explorer と PHP の両方で、同じエラーが発生します。"message": "The content of the request is invalid. Common causes are an invalid Content-Type header or no content in the body.",

エンドポイント: https://graph.microsoft.com/beta/education/classes/class-id/assignments

リクエスト ヘッダー:content-type: application/json

体:

どんな助けでも本当に感謝します!

以下のグラフ エクスプローラーの画像を参照してください。

Microsoft Graph サンプル リクエスト

0 投票する
0 に答える
74 参照

microsoft-graph-api - 教育チームをアーカイブすることは可能ですか

msgraph API を使用して教育クラスをアーカイブしたいと考えています。

教育クラスでこれを行う方法はありますか?

educationclass リソースにメソッドが指定されていません:

https://docs.microsoft.com/en-us/graph/api/resources/educationclass?view=graph-rest-1.0

を使用してチームをアーカイブすることが可能です

これを教育チームに試してみると、反応が得られます

上記のオブジェクト ID は有効な教育チームです。

UI を使用して教育チームをアーカイブすることができます。printscreen のすべての教育チームはグラフ API を介して作成され、「2018 4LAT4,4LAT5,4WETa Engels」チームは Web アプリケーションを使用してアーカイブされ、「Mijn test team」はチーム アプリケーションを使用してアーカイブされます。

ここに画像の説明を入力

0 投票する
1 に答える
484 参照

microsoft-graph-api - Microsoft Education - School Data Sync (SDS) to Microsoft Graph Mapping

We are working with schools who use Microsoft Education and School Data Sync (SDS) to load their teachers, students and groups. In SDS there are some properties such as Grade, GraduationYear etc. and we´ve been trying to figure out if these are accessible via the Microsoft Graph API.

With a bit of experimentation and via this article, we can see on Groups and Users certain properties we can get prefixed with extension_fe2174665583431c953114ff7268b7b3_Education_. fe2174665583431c953114ff7268b7b3 seems to be the app id for SDS.

We were wondering if this is a sensible route to get at these properties from SDS or if there is a better route for getting these? We can, for example, see the term information available in classes but we don´t see the subject information there.

For groups:

Groups: https://graph.microsoft.com/v1.0/groups/{Id}?$select=extension_fe2174665583431c953114ff7268b7b3_Education_{Name}

Note: Groups in SDS are called sections

  • Status (e.g.extension_fe2174665583431c953114ff7268b7b3_Education_Status)

  • Period - This seems to be called periods in the import files

  • CourseSubject - e.g. History

  • CourseDescription - e.g. History of the World

  • CourseName

  • CourseNumber

  • TermEndDate

  • TermStartDate

  • TermName

  • SyncSource_CourseId

  • SyncSource_TermId

  • SectionName - this is the name that comes from the SDS file

Users: https://graph.microsoft.com/v1.0/users/{Id}?select=$extension_fe2174665583431c953114ff7268b7b3_Education_{Name}

  • Grade

  • GraduationYear

  • SyncSource_StudentId

  • ObjectType - Shows if this a teacher or a student

  • DateOfBirth