Hello @高橋 文貴,
welcome to this moderated Azure community forum.
The device streams functionality of the IoT hub is marked as a public preview but technically this feature will not be picked up anymore by the team behind Azure IoT.
The Azure IoT Hub, including device streams, is considered feature complete.
This does not mean the product is deprecated! Microsoft is still providing SLAs, support and updates on these solution because there are widely used and it has its own purpose not covered by other Azure tooling.
If you want to connected with the OS itself, the Azure Arc enabled services functionality could be perfect for you.
This works great for both Windows and Linux machines.
Check this list of supported operating systems regarding the agent that needs to be installed.
I do not see Yocto listed there so contact Microsoft if you want to go this way.
As an alternative, you could try the OSConfig option. It enables Azure IoT customers to provision and manage host level configuration on Linux devices connected to Azure IoT.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.