Data source type of data stream for pulling data from microsoft intune devices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saturday
Hi All,
In Rest Step of data stream, I used Base Url(coming from connection alias) and Resource path to form a request url
but in the output it is coming https://graph.microsoft.com/%0D%0A%0D%0A%0D%0A%0D%0Abeta//deviceManagement/managedDevices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @AnubhootiJ ,
The issue is caused by hidden whitespace or newline characters (%0D%0A = carriage return + line feed) in your Base URL or Resource Path fields. Here's how to fix it:
Fix Steps:
- Check your Connection Alias Base URL:
- Navigate to Connections & Credentials → Connection & Credential Aliases
- Open the alias being used in your Data Stream
- Edit the Connection record and inspect the Base URL field
- Clear the field completely, then manually type (not paste) https://graph.microsoft.com — or paste it into a plain text editor first to strip invisible characters, then copy it again
- Check your REST Step Resource Path:
- In your Data Stream's REST step, check the Resource Path field (e.g., /beta/deviceManagement/managedDevices)
- Again, clear and retype it to eliminate any hidden characters
- Avoid double slash (//):
- The resulting URL also has // before deviceManagement, meaning your Resource Path likely starts with /beta/... while the Base URL already ends with a / (or vice versa). Make sure only one side has the slash — e.g., Base URL ends without / and Resource Path starts with /.
Correct configuration should look like:
- Base URL: https://graph.microsoft.com
- Resource Path: /beta/deviceManagement/managedDevices
This will produce the correct URL: https://graph.microsoft.com/beta/deviceManagement/managedDevices
If this answer helps you, please do mark it as helpful and accept the solution
Thanks,
Vishnu
