Installing intune-portal on Fedora 42

You might be able to get the f41 version and try installing that.

FYI maintaining the java openjdk became a huge problem and the decision was made to drop fedora packaging of it.

More info in this topic Old Java LTS versions unavailable on F42

Edi: And I think the way to get openjdk.