Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds @odata.id to required properties for ReferenceCreate and ReferenceUpdate schemas #1967

Merged
merged 2 commits into from
Apr 26, 2023

Conversation

peombwa
Copy link
Member

@peombwa peombwa commented Apr 25, 2023

Fixes #705

Changes proposed in this pull request

  • Adds @odata.id to required properties for ReferenceCreate and ReferenceUpdate schemas.
  • Adds Pester tests to validate the change.

Get-Help Output

Get-Help Set-MgUserManagerByRef

NAME
    Set-MgUserManagerByRef

SYNOPSIS
    Update the ref of navigation property manager in users


SYNTAX
    Set-MgUserManagerByRef -UserId <String> -OdataId <String> [-AdditionalProperties <Hashtable>] [-OdataType <String>] [-Break]
    [-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-PassThru] [-Proxy <Uri>] [-ProxyCredential
    <PSCredential>] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [<CommonParameters>]

    Set-MgUserManagerByRef -UserId <String> -BodyParameter <IReferenceUpdate> [-Break] [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>] [-PassThru] [-Proxy <Uri>] [-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials]
    [-WhatIf] [-Confirm] [<CommonParameters>]

    Set-MgUserManagerByRef -InputObject <IUsersIdentity> -OdataId <String> [-AdditionalProperties <Hashtable>] [-OdataType <String>]
    [-Break] [-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-PassThru] [-Proxy <Uri>]
    [-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [<CommonParameters>]

    Set-MgUserManagerByRef -InputObject <IUsersIdentity> -BodyParameter <IReferenceUpdate> [-Break] [-HttpPipelineAppend
    <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-PassThru] [-Proxy <Uri>] [-ProxyCredential <PSCredential>]
    [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [<CommonParameters>]

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants