Yes, it is possible to create a direct link to Intune from Power Apps using Power Automate. Here are the steps to do this:
Steps to Create the Direct Link to Intune
Get the Intune URL:
First, you need to know the structure of the Intune URL to access a user's profile. Generally, the Intune URL for a user profile follows a specific format that includes the user's identifier (e.g. email).
Create the Button in Power Apps:
In your Power Apps application, add a button that administrators can use to open the user's Intune profile.
Configure the Button to Call Power Automate:
Configure the button to call a Power Automate flow when clicked. This flow will take the user's name or email and generate the correct URL for Intune.
Create the Flow in Power Automate:
In Power Automate, create a new flow that is triggered from Power Apps.
Configure the flow to receive the user's name or email as a parameter.
Use this parameter to construct the Intune URL.
Return URL to Power Apps:
Configures the flow to return the generated URL to Power Apps.
In Power Apps, use the returned URL to open a new tab in the browser.
Example Implementation
In Power Apps:
Add a button:
In the Power Apps editor, add a button to your screen.
Configure the button to call a Power Automate flow.
Configure the button:
In the button's OnSelect property, use the Launch function to open the URL returned by Power Automate.
Launch(YourFlow.Run(UserEmail))
In Power Automate:
Create a new flow:
In Power Automate, create a new flow that is triggered from Power Apps.
Add an action to receive the parameter:
Add a Receive data action from Power Apps and configure it to receive the user's email.
Build the Intune URL:
Use a Compose action to build the Intune URL using the received email.
https://endpoint.intune.microsoft.com/#blade/Microsoft_Intune_Devices/DeviceSettingsBlade/userId/{UserEmail}
Return URL to Power Apps:
Adds a Responder action to Power Apps to return the constructed URL.
Example Flow in Power Automate:
Recibir datos de Power Apps -> Compose (crear URL) -> Responder a Power Apps (devolver URL)
Example of Code in Power Apps:
Launch(YourFlow.Run(UserEmail))
Considerations:
Security: Ensure that the stream and application are configured securely to avoid exposing sensitive information.
Permissions: Verify that users have the necessary permissions to access profiles in Intune.
If you need help with a specific step or have any additional questions, don't hesitate to ask.
If I have helped you, please mark the answer as accepted and/or give me a like, thank you very much!