An X-ray microdiffraction dedicated beamline, combining white and monochromatic beam capabilities, has been built at the Advanced Light Source. The purpose of this beamline is to address the myriad problems in Materials Science and Physics that require submicron x-ray beams for structural characterization. Many such problems are found in the general area of thin films and nano-materials. For instance, the ability to characterize the orientation and strain state in individual grains of thin films allows us to measure structural changes at a very local level. These microstructural changes are influenced heavily by such parameters as deposition conditions and subsequent treatment. The accurate measurement of strain gradients at the micron and sub-micron level finds many applications ranging from the strain state under nano-indenters to gradients at crack tips. Undoubtedly many other applications will unfold in the future as we gain experience with the capabilities and limitations of this instrument. We have applied this technique to measure grain orientation and residual stress in single grains of pure Al interconnect lines and preliminary results on post-electromigration test experiments are presented. It is shown that measurements with this instrument can be used to resolve the complete stress tensor (6 components) in a submicron volume inside a single grain of Al under a passivation layer with an overall precision of about 20 MPa. The microstructure of passivated lines appears to be complex, with grains divided into identifiable subgrains and noticeable local variations of both tensile/compressive and shear stresses within single grains.