just saw this page :)
going to run some test today to see if it works
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I saw that getResourcesFolderUrl endpoint will be deprecated on May 31, 2021 (https://learn.microsoft.com/en-us/graph/api/educationassignment-getresourcesfolderurl?view=graph-rest-beta&tabs=http)
at this moment is not working, giving me the error
"code": "invalidRequest",
"message": "The request is malformed or incorrect.",
I use this endpoint to create and get the URL of the Assigment resources folder so I can deploy the resources on my deployment process
On the documentation it says that I should used the resourcesFolderUrl but is null when I create a new assignment or when I get the assignment info.
At this moment I don't know how can I create this folder automatically. Someone have an idea how can use other endpoint to create and get the folder URL?
just saw this page :)
going to run some test today to see if it works
Hello @Pedro Monte if you know the OneDrive folder into which file-based resources should be placed to be part of an assignment resource kindly pass it in in the resourcesFolderUrl
property as part of the create assignment request. Alternatively, you can update an existing assignment with the folder link once it is created.
You can create this folder on your one drive if it does not exist, then use that url in the request above.
Kindly let me know if this helps and if you have further questions,
Diana.
I found a new Graph Call in the documentation here: https://learn.microsoft.com/en-us/graph/api/educationsubmission-setupresourcesfolder
It is a new call to create the resource folder for a submission.
If you find submission.resourcesFolderUrl == null you can now just call "/education/classes/{id}/assignments/{id}/submissions/{id}/setUpResourcesFolder" to create the folder.
If you request the submission again afterwards, submission.resourcesFolderUrl is set and you can use it to upload files.
Please refer to the official documentation - education-upload-resource-overview