external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Graph.Education-help.xml |
Microsoft.Graph.Education |
2.0.0 |
Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated.
Note
To view the beta release of this cmdlet, view Update-MgBetaEducationMeRubric
Update-MgEducationMeRubric -EducationRubricId <String> [-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>] [-CreatedBy <IMicrosoftGraphIdentitySet>]
[-Description <IMicrosoftGraphEducationItemBody>] [-DisplayName <String>] [-Grading <Hashtable>]
[-Id <String>] [-LastModifiedBy <IMicrosoftGraphIdentitySet>] [-Levels <IMicrosoftGraphRubricLevel[]>]
[-Qualities <IMicrosoftGraphRubricQuality[]>] [-Headers <IDictionary>] [-ProgressAction <ActionPreference>]
[-WhatIf] [-Confirm] [<CommonParameters>]
Update-MgEducationMeRubric -EducationRubricId <String> -BodyParameter <IMicrosoftGraphEducationRubric>
[-ResponseHeadersVariable <String>] [-Headers <IDictionary>] [-ProgressAction <ActionPreference>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Update-MgEducationMeRubric -InputObject <IEducationIdentity> [-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>] [-CreatedBy <IMicrosoftGraphIdentitySet>]
[-Description <IMicrosoftGraphEducationItemBody>] [-DisplayName <String>] [-Grading <Hashtable>]
[-Id <String>] [-LastModifiedBy <IMicrosoftGraphIdentitySet>] [-Levels <IMicrosoftGraphRubricLevel[]>]
[-Qualities <IMicrosoftGraphRubricQuality[]>] [-Headers <IDictionary>] [-ProgressAction <ActionPreference>]
[-WhatIf] [-Confirm] [<CommonParameters>]
Update-MgEducationMeRubric -InputObject <IEducationIdentity> -BodyParameter <IMicrosoftGraphEducationRubric>
[-ResponseHeadersVariable <String>] [-Headers <IDictionary>] [-ProgressAction <ActionPreference>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated.
Import-Module Microsoft.Graph.Education
$params = @{
displayName = "Example Credit Rubric after display name patch"
}
Update-MgEducationMeRubric -EducationRubricId $educationRubricId -BodyParameter $params
This example shows how to use the Update-MgEducationMeRubric Cmdlet.
Additional Parameters
Type: Hashtable
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
educationRubric To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Type: IMicrosoftGraphEducationRubric
Parameter Sets: Update, UpdateViaIdentity
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
identitySet To construct, see NOTES section for CREATEDBY properties and create a hash table.
Type: IMicrosoftGraphIdentitySet
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
educationItemBody To construct, see NOTES section for DESCRIPTION properties and create a hash table.
Type: IMicrosoftGraphEducationItemBody
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of this rubric.
Type: String
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The unique identifier of educationRubric
Type: String
Parameter Sets: UpdateExpanded, Update
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
educationAssignmentGradeType
Type: Hashtable
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Optional headers that will be added to the request.
Type: IDictionary
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The unique identifier for an entity. Read-only.
Type: String
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: IEducationIdentity
Parameter Sets: UpdateViaIdentityExpanded, UpdateViaIdentity
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
identitySet To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.
Type: IMicrosoftGraphIdentitySet
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The collection of levels making up this rubric. To construct, see NOTES section for LEVELS properties and create a hash table.
Type: IMicrosoftGraphRubricLevel[]
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The collection of qualities making up this rubric. To construct, see NOTES section for QUALITIES properties and create a hash table.
Type: IMicrosoftGraphRubricQuality[]
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Optional Response Headers Variable.
Type: String
Parameter Sets: (All)
Aliases: RHV
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
BODYPARAMETER <IMicrosoftGraphEducationRubric>
: educationRubric
[(Any) <Object>]
: This indicates any property can be added to this object.[Id <String>]
: The unique identifier for an entity. Read-only.[CreatedBy <IMicrosoftGraphIdentitySet>]
: identitySet[(Any) <Object>]
: This indicates any property can be added to this object.[Application <IMicrosoftGraphIdentity>]
: identity[(Any) <Object>]
: This indicates any property can be added to this object.[DisplayName <String>]
: The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.[Id <String>]
: Unique identifier for the identity.
[Device <IMicrosoftGraphIdentity>]
: identity[User <IMicrosoftGraphIdentity>]
: identity
[Description <IMicrosoftGraphEducationItemBody>]
: educationItemBody[(Any) <Object>]
: This indicates any property can be added to this object.[Content <String>]
:[ContentType <String>]
: bodyType
[DisplayName <String>]
: The name of this rubric.[Grading <IMicrosoftGraphEducationAssignmentGradeType>]
: educationAssignmentGradeType[(Any) <Object>]
: This indicates any property can be added to this object.
[LastModifiedBy <IMicrosoftGraphIdentitySet>]
: identitySet[Levels <IMicrosoftGraphRubricLevel-
[]>]
: The collection of levels making up this rubric.[Description <IMicrosoftGraphEducationItemBody>]
: educationItemBody[DisplayName <String>]
: The name of this rubric level.[Grading <IMicrosoftGraphEducationAssignmentGradeType>]
: educationAssignmentGradeType[LevelId <String>]
: The ID of this resource.
[Qualities <IMicrosoftGraphRubricQuality-
[]>]
: The collection of qualities making up this rubric.[Criteria <IMicrosoftGraphRubricCriterion-
[]>]
: The collection of criteria for this rubric quality.[Description <IMicrosoftGraphEducationItemBody>]
: educationItemBody
[Description <IMicrosoftGraphEducationItemBody>]
: educationItemBody[DisplayName <String>]
: The name of this rubric quality.[QualityId <String>]
: The ID of this resource.[Weight <Single?>]
: If present, a numerical weight for this quality. Weights must add up to 100.
CREATEDBY <IMicrosoftGraphIdentitySet>
: identitySet
[(Any) <Object>]
: This indicates any property can be added to this object.[Application <IMicrosoftGraphIdentity>]
: identity[(Any) <Object>]
: This indicates any property can be added to this object.[DisplayName <String>]
: The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.[Id <String>]
: Unique identifier for the identity.
[Device <IMicrosoftGraphIdentity>]
: identity[User <IMicrosoftGraphIdentity>]
: identity
DESCRIPTION <IMicrosoftGraphEducationItemBody>
: educationItemBody
[(Any) <Object>]
: This indicates any property can be added to this object.[Content <String>]
:[ContentType <String>]
: bodyType
INPUTOBJECT <IEducationIdentity>
: Identity Parameter
[EducationAssignmentId <String>]
: The unique identifier of educationAssignment[EducationAssignmentResourceId <String>]
: The unique identifier of educationAssignmentResource[EducationCategoryId <String>]
: The unique identifier of educationCategory[EducationClassId <String>]
: The unique identifier of educationClass[EducationGradingCategoryId <String>]
: The unique identifier of educationGradingCategory[EducationModuleId <String>]
: The unique identifier of educationModule[EducationModuleResourceId <String>]
: The unique identifier of educationModuleResource[EducationOutcomeId <String>]
: The unique identifier of educationOutcome[EducationRubricId <String>]
: The unique identifier of educationRubric[EducationSchoolId <String>]
: The unique identifier of educationSchool[EducationSubmissionId <String>]
: The unique identifier of educationSubmission[EducationSubmissionResourceId <String>]
: The unique identifier of educationSubmissionResource[EducationUserId <String>]
: The unique identifier of educationUser
LASTMODIFIEDBY <IMicrosoftGraphIdentitySet>
: identitySet
[(Any) <Object>]
: This indicates any property can be added to this object.[Application <IMicrosoftGraphIdentity>]
: identity[(Any) <Object>]
: This indicates any property can be added to this object.[DisplayName <String>]
: The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.[Id <String>]
: Unique identifier for the identity.
[Device <IMicrosoftGraphIdentity>]
: identity[User <IMicrosoftGraphIdentity>]
: identity
LEVELS <IMicrosoftGraphRubricLevel- []
>: The collection of levels making up this rubric.
[Description <IMicrosoftGraphEducationItemBody>]
: educationItemBody[(Any) <Object>]
: This indicates any property can be added to this object.[Content <String>]
:[ContentType <String>]
: bodyType
[DisplayName <String>]
: The name of this rubric level.[Grading <IMicrosoftGraphEducationAssignmentGradeType>]
: educationAssignmentGradeType[(Any) <Object>]
: This indicates any property can be added to this object.
[LevelId <String>]
: The ID of this resource.
QUALITIES <IMicrosoftGraphRubricQuality- []
>: The collection of qualities making up this rubric.
[Criteria <IMicrosoftGraphRubricCriterion-
[]>]
: The collection of criteria for this rubric quality.[Description <IMicrosoftGraphEducationItemBody>]
: educationItemBody[(Any) <Object>]
: This indicates any property can be added to this object.[Content <String>]
:[ContentType <String>]
: bodyType
[Description <IMicrosoftGraphEducationItemBody>]
: educationItemBody[DisplayName <String>]
: The name of this rubric quality.[QualityId <String>]
: The ID of this resource.[Weight <Single?>]
: If present, a numerical weight for this quality. Weights must add up to 100.
https://learn.microsoft.com/powershell/module/microsoft.graph.education/update-mgeducationmerubric
https://learn.microsoft.com/graph/api/educationrubric-update?view=graph-rest-1.0