Instead of using the wrapped cmdlets from the Microsoft.Graph.Applications module for interacting with the App Registration in the tenant, we can make these using direct API calls using the Invoke-MgGraphRequest.
Previously we needed both the Applications and Authentication modules to both be installed. Sometimes this will create errors if different versions of modules are attempted to be loaded.
Instead of using the wrapped cmdlets from the Microsoft.Graph.Applications module for interacting with the App Registration in the tenant, we can make these using direct API calls using the Invoke-MgGraphRequest.
Previously we needed both the Applications and Authentication modules to both be installed. Sometimes this will create errors if different versions of modules are attempted to be loaded.