Skip to content

Cannot Renew MFA certificate over ADFS servers using MgGraph V2.26.0 module #3157

Closed
@caveri-sap

Description

@caveri-sap

Describe the bug

Getting error on syncing new MFA certificate from ADFS Servers to Entra ID

Certificate is already created into ADFS server and Connected to Entra ID using a Global Administrator account, getting errors with Update cmdlet

error message says:
Exception : System.Exception: [Request_BadRequest] : Cannot convert the literal 'MIIDRTCCA...'
to the expected type 'Edm.Binary'.

Error screenshot:
Image

Expected behavior

Was expected to just sync the recently created MFA certificate to Entra ID service principal as below screen:

Image

How to reproduce

Perform the steps 1.2,3 from Official documentation under Configuration section:
https://learn.microsoft.com/en-us/windows-server/identity/ad-fs/operations/configure-ad-fs-and-azure-mfa#configure-the-ad-fs-servers

SDK Version

2.26.0

Latest version known to work for scenario above?

2.25.0

Known Workarounds

*Workaround in-place was to remove the new module and install previous version

Uninstall-Module Microsoft.Graph
Install-Module Microsoft.Graph -MaximumVersion 2.25.0 -AllowClobber

Debug output

Click to expand log ```
</details>


### Configuration

Windows Server 2022 Core
Windows Server 2022 Full Installation

### Other information

_No response_

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions